public interface Dictionary
Modifier and Type | Field and Description |
---|---|
static String |
INTERNAL_SEPARATOR |
Modifier and Type | Method and Description |
---|---|
String |
getBaseForm(int wordId,
char[] surface,
int off,
int len)
Get base form of word
|
String |
getInflectionForm(int wordId)
Get inflection form of tokens
|
String |
getInflectionType(int wordId)
Get inflection type of tokens
|
int |
getLeftId(int wordId)
Get left id of specified word
|
String |
getPartOfSpeech(int wordId)
Get Part-Of-Speech of tokens
|
String |
getPronunciation(int wordId,
char[] surface,
int off,
int len)
Get pronunciation of tokens
|
String |
getReading(int wordId,
char[] surface,
int off,
int len)
Get reading of tokens
|
int |
getRightId(int wordId)
Get right id of specified word
|
int |
getWordCost(int wordId)
Get word cost of specified word
|
static final String INTERNAL_SEPARATOR
int getLeftId(int wordId)
wordId
- int getRightId(int wordId)
wordId
- int getWordCost(int wordId)
wordId
- String getPartOfSpeech(int wordId)
wordId
- word ID of tokenString getReading(int wordId, char[] surface, int off, int len)
wordId
- word ID of tokenString getBaseForm(int wordId, char[] surface, int off, int len)
wordId
- word ID of tokenString getPronunciation(int wordId, char[] surface, int off, int len)
wordId
- word ID of tokenString getInflectionType(int wordId)
wordId
- word ID of tokenString getInflectionForm(int wordId)
wordId
- word ID of token