|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umass.cs.mallet.base.types.FeatureSequence
edu.umass.cs.mallet.base.types.LabelSequence
Constructor Summary | |
LabelSequence(Alphabet dict)
|
|
LabelSequence(Label[] labels)
|
|
LabelSequence(LabelAlphabet dict,
int capacity)
|
|
LabelSequence(LabelAlphabet dict,
int[] features)
|
Method Summary | |
LabelAlphabet |
getLabelAlphabet()
|
Label |
getLabelAtPosition(int pos)
|
Methods inherited from class edu.umass.cs.mallet.base.types.FeatureSequence |
add, add, addFeatureWeightsTo, addFeatureWeightsTo, get, getAlphabet, getIndexAtPosition, getLength, getObjectAtPosition, growIfNecessary, size, toFeatureIndexSequence, toSortedFeatureIndexSequence, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LabelSequence(LabelAlphabet dict, int[] features)
public LabelSequence(LabelAlphabet dict, int capacity)
public LabelSequence(Label[] labels)
public LabelSequence(Alphabet dict)
Method Detail |
public LabelAlphabet getLabelAlphabet()
public Label getLabelAtPosition(int pos)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |