engine/asr_token_processor library
Classes
- AsrTokenProcessor
- Ingests raw CTC tokens and timestamps from Sherpa-ONNX, filters special/blank tokens, and computes accurate acoustic phoneme durations reflecting real recitation articulation.
- ProcessedAudioStream
- Represents the filtered speech tokens and their acoustic durations.