Text normalization converts numbers, dates, times, and other non-verbal text
into spoken words (for example “3 apples” becomes “three apples”). How it
works, the supported languages and their codes are documented in
Text processing. The JavaScript SDK controls it
with the normalize and language options:
Using normalize: true without specifying language may cause incorrect normalizations, especially for short texts or languages that share similar vocabulary. Always specify language when you know it.
Wrap text in <spell> tags to have it read character by character (emails,
codes, acronyms). Tag semantics and per-language character names are in
Spell tags. In a streaming session, a tag split across
tokens is handled for you:
playAudio stands for your own playback function.
Next steps