|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbox.textCutter.util.Dict
public class Dict
A class representing a dictionary file.
Dict
is used in NoiseFilter and SimpleCJKCutter.
NoiseFilter
,
SimpleCJKCutter
Constructor Summary | |
---|---|
Dict(java.lang.String path)
Constructs a new Dict by the specified path. |
Method Summary | |
---|---|
boolean |
isExist(java.lang.String word)
Checked if there is a string in the dictionary as same as the specified word. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Dict(java.lang.String path)
path
- the path of dictionary file or directory.
DictInitException
- if failt to load dict file.Method Detail |
---|
public boolean isExist(java.lang.String word)
word
- a string to check.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |