module documentation
Interfaces for labeling tokens with category labels (or "class labels").
ClassifierI is a standard interface for "single-category classification", in which the set of categories is known, the number of categories is finite, and each text belongs to exactly one category.
MultiClassifierI is a standard interface for "multi-category classification", which is like single-category classification except that each text belongs to zero or more categories.
Class |
|
A processing interface for labeling tokens with a single category label (or "class"). Labels are typically strs or ints, but can be any immutable type. The set of labels that the classifier chooses from must be fixed and finite. |
Class |
|
A processing interface for labeling tokens with zero or more category labels (or "labels"). Labels are typically strs or ints, but can be any immutable type. The set of labels that the multi-classifier chooses from must be fixed and finite. |