Kursinnehåll
Tweet Sentiment Analysis
Text Sentiment Analysis
Now that we have prepared our data to be finally classified we will rely on a famous Python library called TextBlob
. This package allows us to perform a sentiment analysis for any given text.
Uppgift
Swipe to start coding
- Import the
TextBlob
package. - Experiment with your own
text
and see the score (sentiment
) that is returned. - Print out the result.
Lösning
Mark tasks as Completed
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 10
AVAILABLE TO ULTIMATE ONLY