cc.mallet.cluster
Class Record
java.lang.Object
cc.mallet.cluster.Record
- All Implemented Interfaces:
- java.io.Serializable
public class Record
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Record
public Record(Alphabet fieldAlph,
Alphabet valueAlph)
Record
public Record(Alphabet fieldAlph,
Alphabet valueAlph,
java.lang.String[][] vals)
values
public FeatureVector values(java.lang.String field)
values
public FeatureVector values(int field)
value
public int value(java.lang.String field)
value
public int value(int field)
fields
public int[] fields()
fieldAlphabet
public Alphabet fieldAlphabet()
valueAlphabet
public Alphabet valueAlphabet()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public java.lang.String toString(boolean oneLine)
main
public static void main(java.lang.String[] args)