A processing interface for labeling tokens with zero or more category
labels (or labels).
Labels are typically strings or integers, but
can be any immutable type. The set of labels that the multi-classifier
chooses from must be fixed and finite.
list of (immutable)
|
labels(self)
Returns:
the list of category labels used by this classifier. |
source code
|
|
set of label
|
classify(self,
featureset)
Returns:
the most appropriate set of labels for the given featureset. |
source code
|
|
|
ProbDistI
|
prob_classify(self,
featureset)
Returns:
a probability distribution over sets of labels for the given
featureset. |
source code
|
|
list of (set of label)
|
|
list of ProbDistI
|
|