Sentiment analysis towards transport systems in Mount Etna.
A sentiment analysis approach to understand tourist satisfaction towards transport systems: the case of Mount Etna
This model implements a Latent Dirichlet Allocation method to assign topic modelling, and then implements a Naive Bayes model to perform a sentiment analysis based on title+review
To be able to run this app, you need to have:
sudo apt install pipenv -y
pipenv shell
pipenv install --skip-lock
Once the configuration is complete, it's time to run this app. Simply run the following command lines below in a terminal:
scrapy runspider ./scripts/get_data.py -o ./data/mount_etna_data.csv -t csv
pipenv run python -m spacy download en_core_web_sm
pipenv run python ./scripts/nlp.py
pipenv run python ./scripts/classification.py
pipenv run python ./scripts/predict.py