Files
momentry_core/scripts
Accusys 0cbb024411 feat: add ASR garbled text detection and retry mechanism
- Add is_garbled() function to detect transcription errors:
  * Repetitive character detection (>40% same char)
  * Language-script mismatch detection
  * Compression ratio check for long text
- Expand COMMON_LANGUAGES fallback list: ja, en, zh, ko, th, vi, fr, de, es
- Add get_vad_settings() to disable VAD for short audio (<15s)
- Fix VAD filter causing 0 segments for short clips
- Improve language detection retry logic with garbled output check

Fixes: ASR producing garbled Sinhala text for Japanese audio
2026-11-05 04:52:32 +08:00
..