DiMa_DeMo / README.md
MariaOls's picture
Update README.md
b4d17b5 verified
---
title: DiMa_DeMo
emoji:
colorFrom: pink
colorTo: indigo
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
python_version: "3.10"
pinned: false
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# DiMa_new — Demo Space
**What it does:**
1) Takes an **English** sentence
2) Translates to **Russian**
3) Detects **candidate** discourse markers using the gazetteer shipped with `MariaOls/DiMa_new`
4) Marks `<cand> … </cand>`, classifies `dm` vs `not_dm`
5) Returns **only** the candidates considered `dm` (otherwise prints “no DMs found”)
**Model:** [`MariaOls/DiMa_new`](https://huggingface.co/MariaOls/DiMa_new)
> Note: Translation quality affects detection. This is a tiny, poster-friendly demo — not a production system.
## Run locally (optional)
```bash
pip install -r requirements.txt
python app.py