nltk.tag.ClassifierBasedTagger.feature_detector

ClassifierBasedTagger.feature_detector(tokens, index, history)[source]

Return the feature detector that this tagger uses to generate featuresets for its classifier. The feature detector is a function with the signature:

feature_detector(tokens, index, history) -> featureset

See classifier()