Language detector implemented in Python
Pull request Compare This branch is even with crodas:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Language detector

This is just another implementation of the language detector using n-grams. I also wrote a PHP Native version (in fact just a wrapper to an existed library).


I created a webservice hosted on the Google AppEngine in a free account, you might use it however you wish. The app. itself is pretty easy to use, in fact it is just an URL with a text parameter via GET.

The application returns an JSON object with the language(s) that it detected. In case of error it will return an error attribute.

In other to get better results, you might send text with a length between 50 and 2000 letters.