Skip to content

Simple webapp that analyzes the sentiment of text files in a diary folder and visualizes the positivity and negativity trends over time.

Notifications You must be signed in to change notification settings

angeljmercado/sentiment-text-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sentiment-text-analysis

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.

Requirements

  • Python 3.7+
  • streamlit
  • plotly
  • vaderSentiment

Usage

Run the application:
streamlit run main.py

The application will display two sections: Positivity and Negativity.

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.

About

Simple webapp that analyzes the sentiment of text files in a diary folder and visualizes the positivity and negativity trends over time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages