TV ad with phone number for Ghostbusters

Rime spell() Function

February 11, 2025 | product, launch

Ever spelled out a name, phone number, or alphanumeric code when speaking?

At Rime, we handle this automatically for many common patterns, for example with standard phone numbers like 1-800-555-2368. See our text formatting recommendations for more details.

But now we’ve also made it easy to explicitly request this behavior with our spell() function, designed to introduce natural pauses and logical grouping for clarity and ease of understanding.

How spell() Works

When spelling out sequences, spell() automatically:
✅ Groups letters and numbers into sets of three (or two where necessary).
✅ Introduces pauses for better comprehension.
✅ Distinguishes transitions between numbers and letters.

For example, a 10-digit phone number like 4252528929 is spoken as:
"4 2 5 … 2 5 2 … 8 9 … 2 9"

Similarly, long words and mixed sequences are structured for clarity:
🔹 "Jonathan" → "J O N … A T H … A N"
🔹 "PRM423GDDML2354" → "P R M … 4 2 3 … G D D … M L … 2 3 … 5 4"

See It in Action

To use spell(), simply wrap your sequence in the function:

{
   "speaker": "tibur",
   "modelId": "mistv2",
   "text": "the name is spelled spell(jonathan)."
}
J O N ... A T H ... A N

The result? A natural pronunciation that improves clarity in text-to-speech applications.

Smarter Spelling for Any Use Case

Whether you’re spelling out names, account numbers, or access codes, spell() ensures smooth, intuitive delivery. Give it a try and let us know what you think!