Update LanguageDetector.scala