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
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