org.apache.tika.language
Class LanguageIdentifier
java.lang.Object
org.apache.tika.language.LanguageIdentifier
public class LanguageIdentifier
- extends Object
Identifier of the language that best matches a given content profile.
The content profile is compared to generic language profiles based on
material from various sources.
- Since:
- Apache Tika 0.5
- See Also:
-
Europarl: A Parallel Corpus for Statistical Machine Translation,
ISO 639 Language Codes
LanguageIdentifier
public LanguageIdentifier(LanguageProfile profile)
LanguageIdentifier
public LanguageIdentifier(String content)
getLanguage
public String getLanguage()
isReasonablyCertain
public boolean isReasonablyCertain()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.