https://github.com/ompreetham/nlp-sentiment-analysis-document-scoring-method
NLP Sentiment Analysis Document Scoring Method
https://github.com/ompreetham/nlp-sentiment-analysis-document-scoring-method
countvectorizer document joblib nlkt nlp numpy pandas project re scoring sentiment-analysis sklearn
Last synced: 7 months ago
JSON representation
NLP Sentiment Analysis Document Scoring Method
- Host: GitHub
- URL: https://github.com/ompreetham/nlp-sentiment-analysis-document-scoring-method
- Owner: OmPreetham
- License: mit
- Created: 2024-04-26T20:25:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-15T07:25:40.000Z (over 1 year ago)
- Last Synced: 2025-02-19T19:40:41.205Z (8 months ago)
- Topics: countvectorizer, document, joblib, nlkt, nlp, numpy, pandas, project, re, scoring, sentiment-analysis, sklearn
- Language: Python
- Homepage:
- Size: 2.76 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Project Name: NLP Sentiment Analysis
This README provides guidance on how to set up and run the Python script for the NLP sentiment analysis project. The script uses natural language processing to identify the sentiment of text documents.
## Prerequisites
Make sure you are in the project directory.
Before you run this script, you need to ensure you have the following installed:
- Python 3.8 or above
- pip (Python package installer)## Required Libraries
Make sure to install the following Python libraries. You can install these packages via pip:
```bash
pip install numpy pandas scikit-learn nltk
```
No additional setup required beyond the installation of the dependencies listed above.
## Running the Script
Go to project folder.
To run the script, follow these steps:
```bash
python project.py
```
if python is not working try python3 project.py
See the output and accuracy in Terminal
## Review
Describe any inputs that the user needs to provide or files that need to be in place:
Ensure trainData.csv and testData.csv are in the same directory as the script, or update the script with their path if they are located elsewhere.