For the phoneme, use curly braces and double quotes:
"{K AE T}"
Separate the word with a colon:
"{K AE T:cat}"
Example:
$cat = "{K AE T:cat}";
Raw text is "cat"
We declare which language we will be using at the start of the grammar. A foreign word is a word that is not native to that language. For example, if you have an English grammar, Spanish or German or Japanese words will be foreign. If we have words that are not in our Dictionary or Phonetic Speller, we can spell them out phonetically. However, there are some things you should know before you get started.
Limited support: Phonetic spelling is not designed to let you write complex applications with lots of words. We do not recommend it as a replacement for acoustic models.
(Please see video at 7:30 for an example of adding German words to an English grammar)
If you have additional questions, please check out our Speech Engine Help section. You can also Contact Support.