Skip to content

Instantly share code, notes, and snippets.

@Ian729
Created January 17, 2022 12:44
Show Gist options
  • Select an option

  • Save Ian729/6786661584307bb3ef4459c22e4f19ca to your computer and use it in GitHub Desktop.

Select an option

Save Ian729/6786661584307bb3ef4459c22e4f19ca to your computer and use it in GitHub Desktop.
Sentiment Analysis
from textblob import TextBlob
tb = TextBlob("I am very happy")
print(tb.sentiment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment