Skip to content

Instantly share code, notes, and snippets.

@MLWhiz
Created January 18, 2019 05:54
Show Gist options
  • Save MLWhiz/e4e8a2ff13afe965cc17e39c7b488088 to your computer and use it in GitHub Desktop.
Save MLWhiz/e4e8a2ff13afe965cc17e39c7b488088 to your computer and use it in GitHub Desktop.
from textblob import TextBlob
word_sent = TextBlob("good").sentiment
print(word_sent.polarity,word_sent.subjectivity)
# 0.7 0.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment