Language definition

Does anyone have any experience defining a text language using python? Is there a module available for this in python?

I already tried the Google application (http://ajax.googleapis.com/ajax/services/language/detect) and it worked correctly, but I can not use it for a long time to download text files.

+6
source share
2 answers

I have never tried this, but it looks like you can do it with NLTK (Natural Language Tookit). See this blog post for an example.

The answer to the following question may also be relevant: NLTK and language detection

+3
source

There is a language detection API that can be used with Python as a web service. It accepts text through GET or POST and provides JSON output with evaluations.

0
source

Source: https://habr.com/ru/post/902394/


All Articles