Documentation Index
Fetch the complete documentation index at: https://dev.docs.inworld.ai/llms.txt
Use this file to discover all available pages before exploring further.
Sometimes you may need to ensure that a word is spoken with a specific pronunciation, especially for uncommon words such as company names, brand names, nicknames, geographic locations, medical terms, or legal terms that may not appear in the model’s training data. Custom pronunciation lets you precisely control how these words are spoken.
How to Use
Inworld TTS supports inline IPA phoneme notation for custom pronunciation. Use the International Phonetic Alphabet (IPA) format, wrapped in slashes (/ /).
For example:
- Suppose you are building an AI travel agent, and it is recommending the destination Crete, which is pronounced /kriːt/ (“kreet”) in English.
- You can ensure the correct pronunciation by passing it inline:
Your interests are a perfect match for a honeymoon in /kriːt/.
Replace one word at a time. Wrap only a single word in slashes for each substitution. Do not wrap multiple words or phrases within the same slash delimiters.
- Correct:
Welcome to /kriːt/, the beautiful island. - Incorrect:
Welcome to /kriːt ðə bjuːtɪfəl aɪlənd/.
Finding the Right IPA Phonemes
If you are unsure of the correct phonemes, there are several ways to find them:-
Ask an LLM like ChatGPT: For example, you can ask:
“What are the IPA phonemes for the word Crete, pronounced like ‘kreet’?”
-
Use reference websites:
- toPhonetics is a free tool that converts English text to IPA transcription.
- Vocabulary.com’s IPA Pronunciation Guide provides tables of IPA symbols with example words.
Your adventure in /kriːt/ begins today.