info.aduna.language.identification.ngram
Class LanguageProfile
java.lang.Object
info.aduna.language.identification.ngram.LanguageProfile
public class LanguageProfile
- extends Object
A LanguageProfile represents the characteristics of a language.
|
Constructor Summary |
LanguageProfile(String code,
Reader reader)
Create a LanguageProfile with the specified language code that will read
its NGrams from the provided stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROFILE_SIZE
public static final int PROFILE_SIZE
- See Also:
- Constant Field Values
LanguageProfile
public LanguageProfile(String code,
Reader reader)
throws IOException
- Create a LanguageProfile with the specified language code that will read
its NGrams from the provided stream.
- Throws:
IOException
getCode
public String getCode()
getNGrams
public NGram[] getNGrams()
Copyright © 1997-2008 Aduna. All Rights Reserved.