We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7c97d4 + 74bb3c2 commit 8588483Copy full SHA for 8588483
nltk/sentiment/vader.py
@@ -356,6 +356,11 @@ def polarity_scores(self, text):
356
Return a float for sentiment strength based on the input text.
357
Positive values are positive valence, negative value are negative
358
valence.
359
+
360
+ :note: Hashtags are not taken into consideration (e.g. #BAD is neutral). If you
361
+ are interested in processing the text in the hashtags too, then we recommend
362
+ preprocessing your data to remove the #, after which the hashtag text may be
363
+ matched as if it was a normal word in the sentence.
364
"""
365
# text, words_and_emoticons, is_cap_diff = self.preprocess(text)
366
sentitext = SentiText(
0 commit comments