org.apache.tika.language
Class LanguageIdentifier
java.lang.Object
org.apache.tika.language.LanguageIdentifier
public class LanguageIdentifier
- extends java.lang.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LanguageIdentifier
public LanguageIdentifier(LanguageProfile profile)
LanguageIdentifier
public LanguageIdentifier(java.lang.String content)
getLanguage
public java.lang.String getLanguage()
isReasonablyCertain
public boolean isReasonablyCertain()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.