|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkr.ac.kaist.swrc.jhannanum.plugin.MajorPlugin.MorphAnalyzer.ChartMorphAnalyzer.NumberDic
public class NumberDic
Number dictionary for recognizing number expressions using automata.
Field Summary | |
---|---|
private byte[][] |
num_automata
number automata |
Constructor Summary | |
---|---|
NumberDic()
|
Method Summary | |
---|---|
boolean |
isNum(int idx)
Returns whether the input was recognized as a number. |
int |
node_look(int c,
int nidx)
It searches the number dictionary with the specified character and the current state of the automata. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private byte[][] num_automata
Constructor Detail |
---|
public NumberDic()
Method Detail |
---|
public boolean isNum(int idx)
idx
- - current state to check
public int node_look(int c, int nidx)
c
- - the next character for searchingnidx
- - the current state of the automata
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |