SEMA / README.md
adityasync's picture
Update README.md
9c2de1e verified
---
title: SEMA
emoji: πŸ“ˆ
colorFrom: indigo
colorTo: gray
sdk: gradio
sdk_version: 5.25.2
app_file: app.py
pinned: false
license: mit
short_description: 'SEMA: Analyze sentence similarity, sentiment, and more'
---
# πŸ§ͺ SEMA: Semantic Evaluation & Matching Analyzer
SEMA is an interactive Gradio-powered NLP tool for analyzing semantic similarity, paraphrasing, sentiment, and linguistic features between two sentences.
## πŸš€ Features
- βœ… Sentence similarity scoring (BERT/SBERT models)
- πŸ“Š Visual similarity charts (Bar, Gauge, Heatmap)
- πŸ”„ Paraphrase detection and generation
- πŸ’¬ Sentiment analysis (transformers-based)
- 🧠 Named Entity Recognition (NER)
- 🧾 POS tagging with visual distribution (Pie chart)
- πŸ“š Text statistics: word counts, overlap, character counts
## πŸ”§ Models Used
- Sentence Transformers:
- `all-MiniLM-L6-v2`
- `paraphrase-MiniLM-L3-v2`
- `paraphrase-multilingual-MiniLM-L12-v2`
- `distilbert-base-nli-mean-tokens`
- Paraphraser: `ramsrigouthamg/t5_paraphraser`
- Sentiment: Hugging Face sentiment-analysis pipeline
- NER/POS: spaCy (`en_core_web_trf`)
## πŸ› οΈ Setup
```bash
git clone https://github.com/adityasync/SEMA.git
cd SEMA
pip install -r requirements.txt
python app.py
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference