====Language identification==== The <code>/identifyLang</code> function can provide language identification. If you install ''Compact Language Detection 2'' (CLD2), you get fast and fairly accurate language detection. Installation can be a bit tricky though. * Ubuntu: see http://blog.xanda.org/2014/04/02/installing-compact-language-detection-2-cld2-on-ubuntu/ * Arch Linux: install python-cld2-hg from AUR. Alternatively, you can start servlet.py with the -s argument pointing to a directory of language pairs with analyser modes, in which case APY will try to do language detection by analysing the text and finding which analyser had the least unknowns. This is a bit slow though :-) APY will prefer using CLD2 if it's available, otherwise fall back to analyser coverage.