machine-learning-articles icon indicating copy to clipboard operation
machine-learning-articles copied to clipboard

Pre-trained Sentiment Analysis

Open khuyentran1401 opened this issue 4 years ago • 0 comments

TL;DR

4 ways to use pre-trained model to predict the sentiment of a sentence

Article Link

https://medium.com/@b.terryjack/nlp-pre-trained-sentiment-analysis-1eb52a9d742c

Useful Tools

  • SentimentIntensityAnalyzer from nltk.sentiment.vader: Experiment and work really well. Can predict negativity, neutral, positive and their confidence
  • TextBlob: Has polarity and objectivity
  • Flair: Work well with some words but predict some positive words to be negative
  • DeepMoji: Predict the emoji based on text. Really cool but cannot get it to work yet

khuyentran1401 avatar Jul 29 '20 22:07 khuyentran1401