Skip to content

ZiyadG7/Sentiment_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup Instructions

Step 1: Clone the Repository

Clone the GitHub repository containing the project code.

git clone https://github.com/your-username/sentiment-analysis-tool.git](https://github.com/ZiyadG7/Sentiment_Analysis

Step 2: Install Dependencies

Install the required Python libraries.

pip install -r requirements.txt

Step 3: Set Up Jupyter Notebook

If you are using Jupyter Notebook, install Jupyter.

pip install jupyter

Step 4: Train the Model

Run the Jupyter Notebook to train the sentiment analysis model.

jupyter notebook Sentiment_Analysis.ipynb.

Step 5: Set Up Flask Application

Ensure Flask is installed (already covered in dependencies). Run the Flask application.

python app.py

Usage Instructions

Step 1: Run the Flask Application

Start the Flask application by running the app.py file.

python app.py

The application will run on http://127.0.0.1:5000/ by default.

Step 2: Access the Web Interface

Open a web browser and go to http://127.0.0.1:5000/. You will see a webpage with a text input form.

Step 3: Input Text and Get Sentiment

Enter the text you want to analyze into the text input form. Click the "Submit" button. The sentiment analysis result (positive, negative, or neutral) will be displayed on the webpage.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published