Skip to main content

Module speech

Module speech 

Source
Expand description

Speech path scaffold — greedy “phone” decode over log-mel (not full ASR).

COMPLETE-WITH-GATE: seed matrix, not a licensed streaming encoder. Unknown language must not map silently — we emit only inventory phones or blank.

Structs§

SpeechEncoderWeights
StreamingSpeechDecoder
Streaming CTC-greedy state: feed successive mono chunks; flush tokens.

Constants§

PHONES
Closed phone inventory (demo).
SPEECH_MAGIC
SPEECH_VERSION

Functions§

decode_for_language
If language inventory is empty / unknown, refuse mapping (no silent map).
greedy_phone_decode
Greedy CTC-like collapse over frames of argmax phone.