public class SequenceEmission extends Object implements Serializable, Comparable<SequenceEmission>
Constructor and Description |
---|
SequenceEmission(Label label,
float emission) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SequenceEmission o) |
float |
getEmission() |
Label |
getLabel() |
void |
setEmission(float emission) |
void |
setLabel(Label label) |
String |
toString() |
public SequenceEmission(Label label, float emission)
public int compareTo(SequenceEmission o)
compareTo
in interface Comparable<SequenceEmission>
public float getEmission()
public Label getLabel()
public void setEmission(float emission)
emission
- the emission score assigned from the classifier and used in
the Viterbi-like decoding to derive the best sequence
labeling.public void setLabel(Label label)
label
- the class assigned to an element in the sequenceCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.