This project is aimed at analyzing text to detect the sentiment behind words and phrases. By examining various texts, we aim to identify and categorize the emotions expressed.
We utilize two main types of data:
- Text excerpts from speeches and writings that provide a rich context for sentiment analysis.
- A mapping of words to their corresponding emotions to aid in the detection of sentiment.
The core of our analysis lies in the naive_linechunk algorithm, which processes the text and assigns sentiment based on the emotions dictionary.
This project was inspired by attreyabhatt/Sentiment-Analysis. It has been modified and adapted to our specific use-case and research questions.
To set up the necessary environment for this project, you need to install the requirements. Run the following command in your terminal:
pip install -r requirements.txtWe welcome contributions and improvements to the algorithm and the emotions dictionary. Please feel free to submit pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- The original authors of the Sentiment-Analysis project
- Those who have contributed to the emotions dictionary
- The authors of the text excerpts used for analysis