Simple webapplication using streamlit that analyzes the sentiment of text files in a diary folder and visualizes the positivity and negativity trends over time. It utilizes the vadersentiment NLP analysis tool and Plotly Express for data visualization.
- Python 3.7+
- streamlit
- plotly
- vaderSentiment
Run the application:
streamlit run main.py
Positivity: Shows the trend of positivity scores over time.
Negativity: Shows the trend of negativity scores over time.
Reads all the text files in the diary folder and calculates the sentiment scores using VADER sentiment analysis.
The sentiment scores are then visualized using line charts generated by Plotly Express.