Spaces:
Sleeping
Sleeping
Download adsp/monitoring/synonyms.py from thanhnv2323/humanize-text-python: direct link, hf CLI and curl.
- Browser
- Download file 312 Bytes
-
https://huggingface.co/spaces/thanhnv2323/humanize-text-python/resolve/main/adsp/monitoring/synonyms.py
- Command line
-
hf download hf://spaces/thanhnv2323/humanize-text-python/adsp/monitoring/synonyms.py
-
curl -L -o synonyms.py https://huggingface.co/spaces/thanhnv2323/humanize-text-python/resolve/main/adsp/monitoring/synonyms.py
312 Bytes
| """Synonym configuration for evaluation matching.""" | |
| from __future__ import annotations | |
| from typing import Dict | |
| # Map common variants to a canonical token for label matching. | |
| WORD_SYNONYMS: Dict[str, str] = { | |
| "cap": "capsule", | |
| "caps": "capsule", | |
| "capsule": "capsule", | |
| "capsules": "capsule", | |
| } | |