Search code examples
javaopen-sourcenlp

Language recognition in Java


Is there any language recognition open-source for Java? Found only for c/c++.

UPD:

I`m talking about human text language. Example:

Input: My name is John. Output: English.

Input: Ich heisse John. Output: German.

Input: Меня зовут Джон. Output: Russian.


Solution

  • See what you think of the version in Apache Tika. This assumes that you want to find out what language text is in, as opposed to wanting to build a parser for a programming language.