diff --git a/unimore_bda_6/analysis/nltk_sentiment.py b/unimore_bda_6/analysis/nltk_sentiment.py index 862b72c..806c23e 100644 --- a/unimore_bda_6/analysis/nltk_sentiment.py +++ b/unimore_bda_6/analysis/nltk_sentiment.py @@ -50,7 +50,7 @@ class NLTKSentimentAnalyzer(BaseSentimentAnalyzer): def __extract_features(self, review: TextReview) -> tuple[Features, str]: """ - Convert a (TokenBag, Category) tuple to a (Features, Category) tuple. + Convert a TextReview to a (Features, str) tuple. Does not use `SentimentAnalyzer.apply_features` due to unexpected behaviour when using iterators. """