- Sentiment analysis
Text Mining-based Sentiment Analysis with python, dealing with parts-of-speech preprocessing filter.
Requirements:
Python3;
Modules: numpy, scipy, beautifulsoup4, sklearn (and sckit-learn), nltk (you can use pip3 to install them).
In python3 console, type:
import nltk
nltk.download()
d
And then download stopwords and averaged_perceptron_tagger modules.
Suggested datasets: https://www.crowdflower.com/data-for-everyone/
Basic usage: python3 pos_extractor.py CSV_DATSET_FILEPATH TEXT_COLUMN SENTIMENT_COLUMN`