It is a school project, under the subject of "Introduction to Artificial Intelligence", willing to do users sentiment analysis.
Along the lessons we been able to go deep in some of Artificial Intelligence sectors, and natural language processing is one of them.
In this project, we used the natural language processing to perform sentiment analysis on statements written by the users.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
To run this project on your local machine, you need to clone the repository, with the following command!
git clone https://github.com/Norberto-Boa/sentiment-analysis.git
After cloning the repository, navigate to the root of the project
cd sentiment-analysis
Before running project, make sure that you have the python3 installed on your computer.
After checking if the latest version of python is available, install the following dependencies, with the following commands
pip install -U textblob
pip3 install -U newspaper3k
After installing all the dependencies, to run the project, run the following command.
python FinalAssignment.py
Follow the program instructions.
To use the article to make sentiment analysis, make the changes highlighted by the comments, and run the project.
Write your sentence on the txt file, then make the changes highlighted by the comments in order to use txt file, then run the project.
This project can be integrated with a product review or comments, in order to know what is the mood of the writer.
- Frank Amiel - Coding and Analysis
- @Norberto-Boa - Coding and Analysis