Skip to content

Instantly share code, notes, and snippets.

@letthedataconfess
Created January 27, 2021 06:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save letthedataconfess/48f3183b94a2f22d9ee451cda58f6353 to your computer and use it in GitHub Desktop.
Save letthedataconfess/48f3183b94a2f22d9ee451cda58f6353 to your computer and use it in GitHub Desktop.
Sentiment Analysis
nltk.download('punkt')
df['review']=df.review.apply(word_tokenize)
df['review'][0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment