This project involves crawling English, Malay and Chinese tweets related to the topic of “Online Learning” from Twitter, cleaning the crawled data, performing sentiment and emotion analysis and lastly, visualizing the result.
Due to the COVID-19 pandemic, many countries including Malaysia are under lockdown to contain the spread of the virus. As a result, teaching and learning activities are shifted online. As students, we are interested to find out what people think and feel about online learning. Therefore, this project is carried out to analyse the sentiments and emotions towards online learning on Twitter. This project was done in a group of 4 and I was responsible for visualizing the result of the sentiment and emotion analysis.
- Download the Visualization folder.
- Create a virtual environment and run the following command:
pip install -r requirements.txt
- Open app.py, go to the last line of the file, replace the host ip address with your own ip address.
- Activate your virtual environment and change the directory to the project folder.
- Run the following commands:
set FLASK_APP=app.py set FLASK_ENV=development flask run
- Access the webpage at localhost:5000 in your browser.