TextBlob icon indicating copy to clipboard operation
TextBlob copied to clipboard

Performance issue in 'NLTKClassifier' constructor

Open zhangwuh opened this issue 7 years ago • 0 comments

When a NLTKClassifier is initialized and basic_extractor used as the default extractor,the word_features in the same training data set will always be re-extracted in the loop of self.train_features = [(self.extract_features(d), c) for d, c in self.train_set]

zhangwuh avatar Jun 06 '17 08:06 zhangwuh