-1

I have a normal classifier which I made from the nltk twittes, more on that in this article: https://www.digitalocean.com/community/tutorials/how-to-perform-sentiment-analysis-in-python-3-using-the-natural-language-toolkit-nltk

I want to get the positive/negative percentage of a sentence. How do I do that?

Maya
  • 25
  • 4

1 Answers1

0

You can use TextBlob library for sentiment polarity. If you'd like, you'll investigate these sites:

  1. Planspace.org
  2. Stackabuse.com
  3. Towarddatascience.com
Anil Guven
  • 31
  • 3