Detects the best matching SQL dialect for files in keywords only dialect.