Returns the label for this Datum, or null if none have been set.
The label for this Datum, or null if none have been set.
public java.lang.String toString()
Returns a String representation of this BasicDatum (lists features and labels).
toString in class java.lang.Object
public boolean equals(java.lang.Object o)
Returns whether the given Datum contains the same features as this Datum.
Doesn't check the labels, should we change this?
(CDM Feb 2012: Also doesn't correctly respect the contract for equals,
since it gives one way equality with other Datum's.)
equals in class java.lang.Object
o - The object to test equality with
Whether it is equal to this CRFDatum in terms of features