PDF Sentiment Analyzer is a simple web application that allows users to upload earnings call PDF files and get sentiment scores along with a sentiment analysis graph. The application uses Flask for the backend, NLTK's VADER for sentiment analysis, and Matplotlib for plotting the results.
- Upload PDF files for sentiment analysis.
- Extract text from PDF files.
- Perform sentiment analysis using VADER.
- Display sentiment scores and a sentiment analysis graph.
-
Clone the repository:
git clone https://github.com/Vikranth3140/PDF-Sentiment-Analyzer.git cd PDF-Sentiment-Analyzer
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Run the Flask application using Gunicorn:
python app.py
-
Open your web browser and go to
http://127.0.0.1:8000/
. -
Upload a PDF file to get the sentiment analysis results.
PDF-Sentiment-Analyzer/
│
├── app.py
├── requirements.txt
├── templates/
│ └── index.html
├── static/
│ ├── styles.css
│ └── scripts.js
└── uploads/
This project is licensed under the MIT License.