cc.mallet.types
Class Labels
java.lang.Object
cc.mallet.types.Labels
- All Implemented Interfaces:
- AlphabetCarrying, java.io.Serializable
public class Labels
- extends java.lang.Object
- implements AlphabetCarrying, java.io.Serializable
Usually some distribution over possible labels for an instance.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Labels
public Labels(Label[] labels)
size
public int size()
get
public Label get(int i)
set
public void set(int i,
Label l)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getAlphabet
public Alphabet getAlphabet()
- Specified by:
getAlphabet
in interface AlphabetCarrying
getAlphabets
public Alphabet[] getAlphabets()
- Specified by:
getAlphabets
in interface AlphabetCarrying