From e2b9133bd5b1608b60e462adbd00434c1d203ff8 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 2 Feb 2023 04:28:44 +0100 Subject: [PATCH] Remove language reference from VanillaSA docstrings --- unimore_bda_6/analysis/vanilla.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unimore_bda_6/analysis/vanilla.py b/unimore_bda_6/analysis/vanilla.py index 7323602..ed91aea 100644 --- a/unimore_bda_6/analysis/vanilla.py +++ b/unimore_bda_6/analysis/vanilla.py @@ -24,7 +24,7 @@ class VanillaSA(BaseSA, metaclass=abc.ABCMeta): def _tokenize_text(self, text: str) -> list[str]: """ - Convert a text string into a list of tokens, using the language of the model. + Convert a text string into a list of tokens. """ tokens = nltk.word_tokenize(text) nltk.sentiment.util.mark_negation(tokens, shallow=True)