Spaces:
Running
Running
Download core/i18n/__init__.py from Aynkhn/WorkPilot-AI: direct link, hf CLI and curl.
- Browser
- Download file 858 Bytes
-
https://huggingface.co/spaces/Aynkhn/WorkPilot-AI/resolve/main/core/i18n/__init__.py
- Command line
-
hf download hf://spaces/Aynkhn/WorkPilot-AI/core/i18n/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Aynkhn/WorkPilot-AI/resolve/main/core/i18n/__init__.py
858 Bytes
| """Multilingual support (Phase 13): English, Urdu (Nastaliq script) and Roman Urdu. | |
| * :mod:`core.i18n.detect` - language detection (``en`` / ``ur`` / ``roman_ur``); | |
| * :mod:`core.i18n.normalize` - non-destructive Roman Urdu spelling and digit normalization; | |
| * :mod:`core.i18n.review` - when a message must go to a human instead of an automatic reply; | |
| * :mod:`core.i18n.transcribe` - voice-note transcription protocol (stub by default); | |
| * :mod:`core.i18n.pipeline` - annotates an incoming ``Event`` before routing; | |
| * :mod:`core.i18n.locale` - reply-language helpers (WhatsApp template codes, localized text). | |
| """ | |
| from core.i18n.detect import LANGUAGES, Detection, detect | |
| from core.i18n.normalize import Normalized, normalize, normalize_for_rules | |
| __all__ = ["LANGUAGES", "Detection", "Normalized", "detect", "normalize", "normalize_for_rules"] | |