cc.mallet.types
Interface Labeler


public interface Labeler


Method Summary
 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.