This project is a Flask-based web application that performs sentiment analysis using a lexicon-based approach.
- Analyze sentiment of text input
- Display sentiment score and classification
- Simple and intuitive web interface
- Clone the repository:
git clone https://github.com/yourusername/lexicon-sentiment-analyze-app.git
- Navigate to the project directory:
cd lexicon-sentiment-analyze-app
- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
- Install the required dependencies:
- Python dependencies
pip install -r requirements.txt
- Node dependencies
cd flaskr
npm install
- Python dependencies
- Run the Flask application:
- Python app
flask --app flaskr run --debug
- Styles
npx tailwindcss -i ./static/src/input.css -o ./static/dist/css/output.css --watch
- Python app
- Open your web browser and go to
http://127.0.0.1:5000
.
Contributions are welcome! Please open an issue or submit a pull request for any changes.
This project is licensed under the MIT License. See the LICENSE file for details.