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.
Tâche
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.
Solution
Mark tasks as Completed
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 10
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Suggested prompts:
Posez-moi des questions sur ce sujet
Résumer ce chapitre
Afficher des exemples du monde réel
Awesome!
Completion rate improved to 9.09
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.
Tâche
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.
Solution
Mark tasks as Completed
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 10