|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjvnsegmenter.CRFSegmenter
public class CRFSegmenter
The Class CRFSegmenter.
Constructor Summary | |
---|---|
CRFSegmenter()
Instantiates a new cRF segmenter. |
|
CRFSegmenter(java.lang.String modelDir)
Instantiates a new cRF segmenter. |
Method Summary | |
---|---|
void |
init(java.lang.String modelDir)
Inits the. |
java.lang.String |
segmenting(java.io.File file)
Segmenting. |
java.lang.String |
segmenting(java.lang.String instr)
Segmenting. |
void |
setDataReader(DataReader reader)
Sets the data reader. |
void |
setDataWriter(DataWriter writer)
Sets the data writer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CRFSegmenter(java.lang.String modelDir)
modelDir
- the model dirpublic CRFSegmenter()
Method Detail |
---|
public void init(java.lang.String modelDir)
modelDir
- the model dirpublic java.lang.String segmenting(java.lang.String instr)
instr
- the instr
public java.lang.String segmenting(java.io.File file)
file
- the file
public void setDataReader(DataReader reader)
reader
- the new data readerpublic void setDataWriter(DataWriter writer)
writer
- the new data writer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |