new language detection library and factory (https://code.google.com/p/language-detection/)