Spaces:
Running

WorkPilot-AI / core /i18n /__init__.py
Aynkhn's picture
Deploy WorkPilot demo
fd5dd94 verified
Raw History Blame Contribute Delete
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"]