Spaces:
Sleeping
Sleeping
File size: 1,345 Bytes
3f62666 9c2de1e 3f62666 9c2de1e 3f62666 9c2de1e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
---
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 |