public final class UnknownDictionary extends BinaryDictionary
Dictionary.MorphemeDICT_FILENAME_SUFFIX, DICT_HEADER, HAS_READING, HAS_SINGLE_POS, POSDICT_FILENAME_SUFFIX, POSDICT_HEADER, TARGETMAP_FILENAME_SUFFIX, TARGETMAP_HEADER, VERSION| Modifier and Type | Method and Description |
|---|---|
CharacterDefinition |
getCharacterDefinition() |
static UnknownDictionary |
getInstance() |
Dictionary.Morpheme[] |
getMorphemes(int wordId,
char[] surfaceForm,
int off,
int len)
Get the morphemes of specified word (e.g.
|
String |
getReading(int wordId)
Get the reading of specified word (mainly used for Hanja to Hangul conversion).
|
getClassResource, getLeftId, getLeftPOS, getPOSType, getResource, getRightId, getRightPOS, getWordCost, lookupWordIdspublic CharacterDefinition getCharacterDefinition()
public static UnknownDictionary getInstance()
public String getReading(int wordId)
DictionarygetReading in interface DictionarygetReading in class BinaryDictionarypublic Dictionary.Morpheme[] getMorphemes(int wordId, char[] surfaceForm, int off, int len)
DictionarygetMorphemes in interface DictionarygetMorphemes in class BinaryDictionaryCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.