|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmaxent.Classification
public class Classification
The Class Classification.
| Field Summary | |
|---|---|
Data |
data
The data. |
Dictionary |
dict
The dict. |
FeatureGen |
feagen
The feagen. |
Inference |
inference
The inference. |
boolean |
initialized
The initialized. |
Model |
model
The model. |
Option |
option
The option. |
| Constructor Summary | |
|---|---|
Classification(java.lang.String modelDir)
Instantiates a new classification. |
|
| Method Summary | |
|---|---|
java.util.List |
classify(java.util.List data)
classify a list of observation. |
java.lang.String |
classify(java.lang.String cps)
classify an observation. |
java.lang.String |
classify(java.lang.String[] cpArr)
Classify. |
void |
init()
Inits the. |
boolean |
isInitialized()
Checks if is initialized. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Option option
public Data data
public Dictionary dict
public FeatureGen feagen
public Inference inference
public Model model
public boolean initialized
| Constructor Detail |
|---|
public Classification(java.lang.String modelDir)
modelDir - the model dir| Method Detail |
|---|
public boolean isInitialized()
public void init()
public java.lang.String classify(java.lang.String cps)
cps - contains a list of context predicates
public java.lang.String classify(java.lang.String[] cpArr)
cpArr - the cp arr
public java.util.List classify(java.util.List data)
data - contains a list of cps
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||