mirror of
https://github.com/Steffo99/unimore-bda-6.git
synced 2024-11-21 15:34:18 +00:00
Fix docstring
This commit is contained in:
parent
58554c84e0
commit
21871f4e06
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue