Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SentimentMountEtna

badge1 badge2 badge3

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

How to use SentimentMountEtna

1. Prerequisites

To be able to run this app, you need to have:

sudo apt install pipenv -y
pipenv shell
pipenv install --skip-lock

2. Run

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

About

SentimentMountEtna

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages