1680806177852.mp4
MoodMeter is a project for analyzing depressive tweets using Natural Language Processing (NLP) techniques. The goal of this project is to explore how people express their emotions related to depression on social media and to identify patterns and trends in their language usage.
This project also aims to broaden the scope of social media-based mental health measures and to build an algorithm that can predict text-based signs of depression using existing research that has proven the correlation between depression and specific linguistic features.
The tweets which user inputs are analyzed for their sentiment using an LSTM (Long Short-Term Memory) neural network and give label 'cheerful' or 'depressive' to the tweet.
To use this project, you will need to follow these steps:
You will need to have the following software installed on your computer:
- Python 3.8.2
- Node.js
- npm
- Clone this repository to your local machine using
git clone https://github.com/TusharPuri10/DepressiveTweetsAnalysis.git
.
-
Navigate to the root directory of the project in your terminal or command prompt.
-
Set up a virtual environment. See here for more details. Don't forget to activate the virtual environment and then Install the required Python packages by running the following command:
pip install -r requirements.txt
- Navigate to the 'frontend' directory and install the required Node.js packages by running the following command:
npm install
- In the 'backend' directory of the project, start the Flask server by running the following command:
python main.py
- In a separate terminal or command prompt window, navigate to the 'frontend' directory and build the React application by running the following command:
npm run build
- Start the React server by running the following command:
npm start
- Open your web browser and go to http://localhost:3000/ to access the application.
- Python 3.8.2
- Tensorflow
- Keras
- rest of them are listed in requirements.txt
If you want to contribute to this project, feel free to submit a pull request. Before doing so, please make sure that your changes are aligned with the project's goals and that they do not break the existing code.
This project is licensed under the MIT License. Feel free to use, modify, and distribute it as you wish.