You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three changes:
1) basic_extractor can accept a list of strings as well as a list of
('word','label') tuples.
2) BaseClassifier now has an instance variable _word_set which is a set
of tokens seen by the classifier.
1+2) BaseClassifier.extract_features passes _word_set to extractor
rather than the training set.
3) NLTKClassifier.update adds new words to the _word_set.
0 commit comments