Module Expr Str ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad Call AttributeLoad NameLoad attr ListLoad NameLoad Index Num orelse Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad Call AttributeLoad NameLoad attr ListLoad NameLoad Index Num orelse Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad Call AttributeLoad NameLoad attr ListLoad NameLoad Index Num orelse Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad Call AttributeLoad NameLoad attr ListLoad NameLoad Index Num orelse Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list decorator_list
N/A N/A 
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.
 nltk.internals overridden ClassifierI N/A object N/A N/A 
    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.

    Subclasses must define:
      - ``labels()``
      - either ``classify()`` or ``classify_many()`` (or both)

    Subclasses may define:
      - either ``prob_classify()`` or ``prob_classify_many()`` (or both)
     labels N/A N/A self N/A N/A N/A 
        :return: the list of category labels used by this classifier.
        :rtype: list of (immutable)
         N/A N/A NotImplementedError N/A classify N/A N/A self featureset N/A N/A N/A 
        :return: the most appropriate label for the given featureset.
        :rtype: label
         N/A N/A overridden N/A self classify_many N/A N/A N/A N/A N/A self classify_many N/A featureset N/A 0 N/A N/A N/A NotImplementedError N/A prob_classify N/A N/A self featureset N/A N/A N/A 
        :return: a probability distribution over labels for the given
            featureset.
        :rtype: ProbDistI
         N/A N/A overridden N/A self prob_classify_many N/A N/A N/A N/A N/A self prob_classify_many N/A featureset N/A 0 N/A N/A N/A NotImplementedError N/A classify_many N/A N/A self featuresets N/A N/A N/A 
        Apply ``self.classify()`` to each element of ``featuresets``.  I.e.:

            return [self.classify(fs) for fs in featuresets]

        :rtype: list(label)
         N/A N/A N/A N/A self classify fs N/A fs featuresets N/A prob_classify_many N/A N/A self featuresets N/A N/A N/A 
        Apply ``self.prob_classify()`` to each element of ``featuresets``.  I.e.:

            return [self.prob_classify(fs) for fs in featuresets]

        :rtype: list(ProbDistI)
         N/A N/A N/A N/A self prob_classify fs N/A fs featuresets N/A N/A MultiClassifierI N/A object N/A N/A 
    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.

    Subclasses must define:
      - ``labels()``
      - either ``classify()`` or ``classify_many()`` (or both)

    Subclasses may define:
      - either ``prob_classify()`` or ``prob_classify_many()`` (or both)
     labels N/A N/A self N/A N/A N/A 
        :return: the list of category labels used by this classifier.
        :rtype: list of (immutable)
         N/A N/A NotImplementedError N/A classify N/A N/A self featureset N/A N/A N/A 
        :return: the most appropriate set of labels for the given featureset.
        :rtype: set(label)
         N/A N/A overridden N/A self classify_many N/A N/A N/A N/A N/A self classify_many N/A featureset N/A 0 N/A N/A N/A NotImplementedError N/A prob_classify N/A N/A self featureset N/A N/A N/A 
        :return: a probability distribution over sets of labels for the
            given featureset.
        :rtype: ProbDistI
         N/A N/A overridden N/A self prob_classify_many N/A N/A N/A N/A N/A self prob_classify_many N/A featureset N/A 0 N/A N/A N/A NotImplementedError N/A classify_many N/A N/A self featuresets N/A N/A N/A 
        Apply ``self.classify()`` to each element of ``featuresets``.  I.e.:

            return [self.classify(fs) for fs in featuresets]

        :rtype: list(set(label))
         N/A N/A N/A N/A self classify fs N/A fs featuresets N/A prob_classify_many N/A N/A self featuresets N/A N/A N/A 
        Apply ``self.prob_classify()`` to each element of ``featuresets``.  I.e.:

            return [self.prob_classify(fs) for fs in featuresets]

        :rtype: list(ProbDistI)
         N/A N/A N/A N/A self prob_classify fs N/A fs featuresets N/A N/A