|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjflexcrf.Labeling
public class Labeling
The Class Labeling.
| Field Summary | |
|---|---|
Dictionary |
taggerDict
The tagger dict. |
Maps |
taggerMaps
The tagger maps. |
| Constructor Summary | |
|---|---|
Labeling(java.lang.String modelDir,
TaggingData dataTagger,
DataReader dataReader,
DataWriter dataWriter)
Instantiates a new labeling. |
|
| Method Summary | |
|---|---|
boolean |
init(java.lang.String modelDir)
Inits the. |
java.util.List |
seqLabeling(java.io.File file)
labeling observation sequences. |
java.util.List |
seqLabeling(java.lang.String data)
labeling observation sequences. |
void |
setDataReader(DataReader reader)
Sets the data reader. |
void |
setDataTagger(TaggingData tagger)
Sets the data tagger. |
void |
setDataWriter(DataWriter writer)
Sets the data writer. |
java.lang.String |
strLabeling(java.io.File file)
labeling observation sequences. |
java.lang.String |
strLabeling(java.lang.String data)
labeling observation sequences. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Maps taggerMaps
public Dictionary taggerDict
| Constructor Detail |
|---|
public Labeling(java.lang.String modelDir,
TaggingData dataTagger,
DataReader dataReader,
DataWriter dataWriter)
modelDir - the model dirdataTagger - the data taggerdataReader - the data readerdataWriter - the data writer| Method Detail |
|---|
public boolean init(java.lang.String modelDir)
modelDir - the model dir
public void setDataReader(DataReader reader)
reader - the new data readerpublic void setDataTagger(TaggingData tagger)
tagger - the new data taggerpublic void setDataWriter(DataWriter writer)
writer - the new data writerpublic java.util.List seqLabeling(java.lang.String data)
data - list of sequences with specified format which can be read by DataReader
public java.util.List seqLabeling(java.io.File file)
file - the file
public java.lang.String strLabeling(java.lang.String data)
data - the data
public java.lang.String strLabeling(java.io.File file)
file - contains a list of observation sequence, this file has a format wich can be read by DataReader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||