When to use spell()
Use spell() when you need a letter or number sequence spelled out, one unit at a time.
spell() inserts naturalistic pauses within a sequence. It groups numbers and letters in threes where possible and pairs where necessary. For example, it breaks a standard 10-digit telephone number into:
4 2 5The same grouping applies to long words:<pause>2 5 2<pause>8 9<pause>2 9
P E N<pause>E L O<pause>P E
spell() also inserts pauses when a mixed sequence transitions between letters and numbers:
P R MAny number, letter, or alphanumeric string inside<pause>4 2 3<pause>G D D<pause>M L<pause>2 3<pause>5 4
spell() is read in full. The function also reads common symbols such as @ (at) and - (dash).
Use the request examples below to test each type of sequence.
spell() applied to words
If I want the sentence to read:
“The name is spelled J O N, A T H, A N.”Input:
the name is spelled spell(jonathan).
- Coda
- Mist v3
spell() applied to numbers
For number sequences, if I want the sentence to read:
“The number is 4 2 5, 2 5 2, 8 9, 2 9.”Input:
the number is spell(4252528929).
- Coda
- Mist v3
spell() applied to alphanumeric sequences
The same goes for mixed alphanumerics. If I want the sentence to be read:
the account is r f, 5 4 3, d c, 2Input:
the account is spell(rf543dc2).
- Coda
- Mist v3
spell() applied to typographical symbols
Spell also works with common symbols. For example:
the email address is h e l p, at, r i m e, dot, a iInput:
the email address is spell(help@rime.ai).
- Coda
- Mist v3

