Closed kazuser closed 11 months ago
:(
Language.ENGLISH нормаланбайды I
from lingua import Language, LanguageDetectorBuilder
aDetector = LanguageDetectorBuilder.from_languages(Language.ENGLISH, Language.KAZAKH).build()
aText = "нормаланбайды I"
aLang = aDetector.detect_language_of(aText)
print(aLang, aText)
Language.ENGLISH III не нормируется I, II
from lingua import Language, LanguageDetectorBuilder
aDetector = LanguageDetectorBuilder.from_languages(Language.ENGLISH, Language.RUSSIAN).build()
aText = "III не нормируется I, II"
aLang = aDetector.detect_language_of(aText)
print(aLang, aText)
Hi @kazuser, thank you for reporting these issues. I accidentally assumed that the characters ӨөҮү
are unique to Mongolian but I've learned that they also occur in Kazakh. The fix for this will be part of the next release which will be published shortly.
Lingua-py writes "MONGOLIAN", but this is KAZAKH :(
Text: