A modern text analysis web application built with Flask and advanced NLP techniques.
Grasper is an advanced text analysis tool that provides insights from natural language data using state-of-the-art processing methods. It supports sentiment analysis, key phrase extraction, and entity recognition, within a user-friendly and responsive web interface.
- Sentiment Analysis: Detect and visualize sentiment (positive, negative, neutral) using deep learning models.
- Key Phrase Extraction: Automatic detection and highlighting of relevant keywords.
- Named Entity Recognition: Identification of persons, organizations, locations, and more.
- Dark/Light Mode: Easy switching for eye comfort.
- Responsive Design: Works across desktop, tablet, and mobile devices.
- Flask (Backend Framework)
- Transformers (NLP Models)
- KeyBERT (Keyword Extraction)
- spaCy (Named Entity Recognition)
- JavaScript (Frontend Interactivity)
- CSS (Styling)
- Python 3.8 or higher
- pip
- (Recommended) virtualenv for isolated environments
- Python 3.8 or higher
- pip (Python package manager)
- (Recommended) virtualenv for isolated environments
-
Clone the repository
git clone https://github.com/YOUR_USERNAME/grasper-project.git cd grasper-project -
Create and activate a virtual environment
python -m venv .venv # Activate the environment: source .venv/bin/activate # On Windows: .venv\Scripts\activate -
Install dependencies
pip install -r requirements.txt
- Run the Flask development server:
flask run - Open your browser to http://localhost:5000
- Enter or upload text to see sentiment, key phrases, and entity results.
Input:
"OpenAI released a new version of GPT in San Francisco."
Output:
- Sentiment: Neutral
- Key Phrases: OpenAI, GPT, San Francisco
- Entities: Organization (OpenAI), Location (San Francisco)
grasper-project/ ├── app/ # Main application logic ├── static/ # CSS, JS, images ├── templates/ # HTML Jinja templates ├── requirements.txt ├── README.md └── ...
Contributions are welcome!
- Follow PEP8 coding style
- Use feature branches for new changes
- Please submit pull requests for review
Report bugs or suggestions via GitHub Issues.
Licensed under the MIT License.
See the LICENSE file for more details.
- Maintainer: YOUR NAME
- Email: your-email@example.com
