Package cc.mallet.types
Interface Labeler
-
public interface Labeler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
label(Instance instanceToLabel)
Given the (presumably unlabeled) instanceToLabel, set its target field to the true label.
-
-
-
Method Detail
-
label
boolean label(Instance instanceToLabel)
Given the (presumably unlabeled) instanceToLabel, set its target field to the true label.- Returns:
- true if labeling occurred successfully, false if for some reason the instance could not be labeled.
-
-