added LanguageRecognizer class; language labels written too