hoe to applied example in Sentiment analysis using textblob and naive bayes

41 Views Asked by At

Hi i am using amazon food dataset and my project about sentiment analysis i used TextBlob and naive Bayes models and after i get the accuracy for both

i wants t to applied each model in example like this enter image description here this is the code for predicting in TextBlob enter image description here

and this for Naive Bayes enter image description here

1

There are 1 best solutions below

0
Raghav Tyagi On

I'm not sure about text-blob, However I've tried implementing basic sentiment analysis through Naive-Bayes in a python script

You can get an idea here - https://github.com/Shady2kOver/naive-bayers-sentiment-analysis