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.
Opgave
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 alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 10
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Suggested prompts:
Spørg mig spørgsmål om dette emne
Opsummér dette kapitel
Vis virkelige eksempler
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.
Opgave
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 alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 10