0 votes
1 view
in Machine Learning by (15.8k points)

I've been reading a lot of articles that explain the need for an initial set of texts that are classified as either 'positive' or 'negative' before a sentiment analysis system will really work.

My question is: Has anyone attempted just doing a rudimentary check of 'positive' adjectives vs 'negative' adjectives, taking into account any simple negators to avoid classing 'not happy' as positive? If so, are there any articles that discuss just why this strategy isn't realistic?

1 Answer

0 votes
by (33.2k points)

You can perform unsupervised sentiment analysis using python’s AFINN and NLTK libraries. You should check out this GitHub repository for detailed python code. This code gave an accuracy of 71%, which is pretty good in the case of unsupervised sentiment analysis.

Hope this answer helps.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !