Länk - Language detection from python

published Oct 27, 2011 02:30   by admin ( last modified Jul 21, 2013 11:19 )

Update: It is now on pypi:

https://pypi.python.org/pypi/chromium_compact_language_detector

It turns out the CLD part of the Chromium source tree is nicely standalone, so I pulled it out into a new separate Google code project, making it possible to use CLD directly from any C++ code. I also added basic initial Python binding (one method!), and ported the small C++ unit test (verifying detection of known strings for 64 different languages) to Python (it passes!).



Läs mer: Changing Bits: Language detection with Google's Compact Language Detector