Skip to content

Latest commit

 

History

History
67 lines (55 loc) · 1.53 KB

README.md

File metadata and controls

67 lines (55 loc) · 1.53 KB

Lexicon Sentiment Analyze App

This project is a Flask-based web application that performs sentiment analysis using a lexicon-based approach.

Features

  • Analyze sentiment of text input
  • Display sentiment score and classification
  • Simple and intuitive web interface

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/lexicon-sentiment-analyze-app.git
  2. Navigate to the project directory:
    cd lexicon-sentiment-analyze-app
  3. Create a virtual environment:
    python -m venv venv
  4. Activate the virtual environment:
    • On Windows:
      venv\Scripts\activate
    • On macOS/Linux:
      source venv/bin/activate
  5. Install the required dependencies:
    • Python dependencies
      pip install -r requirements.txt
    • Node dependencies
      cd flaskr
      npm install

Usage

  1. 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
  2. Open your web browser and go to http://127.0.0.1:5000.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.