Package 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Alphabet
fieldAlphabet()
int[]
fields()
static void
main(java.lang.String[] args)
java.lang.String
toString()
java.lang.String
toString(boolean oneLine)
int
value(int field)
int
value(java.lang.String field)
Alphabet
valueAlphabet()
FeatureVector
values(int field)
FeatureVector
values(java.lang.String field)
-
-
-
Method Detail
-
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 classjava.lang.Object
-
toString
public java.lang.String toString(boolean oneLine)
-
main
public static void main(java.lang.String[] args)
-
-