public final class UnknownDictionary extends BinaryDictionary
DICT_FILENAME_SUFFIX, DICT_HEADER, HAS_BASEFORM, HAS_PRONUNCIATION, HAS_READING, POSDICT_FILENAME_SUFFIX, POSDICT_HEADER, TARGETMAP_FILENAME_SUFFIX, TARGETMAP_HEADER, VERSIONINTERNAL_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
CharacterDefinition |
getCharacterDefinition() |
String |
getInflectionForm(int wordId)
Get inflection form of tokens
|
String |
getInflectionType(int wordId)
Get inflection type of tokens
|
static UnknownDictionary |
getInstance() |
String |
getReading(int wordId,
char[] surface,
int off,
int len)
Get reading of tokens
|
int |
lookup(char[] text,
int offset,
int len) |
getBaseForm, getClassResource, getLeftId, getPartOfSpeech, getPronunciation, getResource, getRightId, getWordCost, lookupWordIdspublic int lookup(char[] text,
int offset,
int len)
public CharacterDefinition getCharacterDefinition()
public String getReading(int wordId, char[] surface, int off, int len)
DictionarygetReading in interface DictionarygetReading in class BinaryDictionarywordId - word ID of tokenpublic String getInflectionType(int wordId)
DictionarygetInflectionType in interface DictionarygetInflectionType in class BinaryDictionarywordId - word ID of tokenpublic String getInflectionForm(int wordId)
DictionarygetInflectionForm in interface DictionarygetInflectionForm in class BinaryDictionarywordId - word ID of tokenpublic static UnknownDictionary getInstance()