|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmaxent.Observation
public class Observation
The Class Observation.
Field Summary | |
---|---|
int[] |
cps
The cps. |
int |
curWordCp
The cur word cp. |
int |
dictLabel
The dict label. |
int |
humanLabel
The human label. |
int |
modelLabel
The model label. |
java.lang.String |
originalData
The original data. |
Constructor Summary | |
---|---|
Observation()
Instantiates a new observation. |
|
Observation(int[] cps)
Instantiates a new observation. |
|
Observation(int humanLabel,
int[] cps)
Instantiates a new observation. |
|
Observation(java.util.List intCps)
Instantiates a new observation. |
Method Summary | |
---|---|
java.lang.String |
toString(java.util.Map lbInt2Str)
To string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String originalData
public int[] cps
public int humanLabel
public int modelLabel
public int curWordCp
public int dictLabel
Constructor Detail |
---|
public Observation()
public Observation(int[] cps)
cps
- the cpspublic Observation(java.util.List intCps)
intCps
- the int cpspublic Observation(int humanLabel, int[] cps)
humanLabel
- the human labelcps
- the cpsMethod Detail |
---|
public java.lang.String toString(java.util.Map lbInt2Str)
lbInt2Str
- the lb int2 str
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |