nltk.TextCat.guess_language

TextCat.guess_language(text)[source]

Find the language with the min distance to the text and return its ISO 639-3 code