public final class UnknownDictionary extends BinaryDictionary
Dictionary.Morpheme
DICT_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, lookupWordIds
public CharacterDefinition getCharacterDefinition()
public static UnknownDictionary getInstance()
public String getReading(int wordId)
Dictionary
getReading
in interface Dictionary
getReading
in class BinaryDictionary
public Dictionary.Morpheme[] getMorphemes(int wordId, char[] surfaceForm, int off, int len)
Dictionary
getMorphemes
in interface Dictionary
getMorphemes
in class BinaryDictionary
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.