Quick request, can't figure out the custom pronunciation

Hi all, another quick q, how can I set up custom pronunciation? I’m working on a language app and my coach is called Andrea, but I need it to be pronounced like it would be in spanish (an-dreh-ah vs an-drey-a).

Hi!

Use the pronunciation field with custom lexicons or inline phonemes. Using your pronunciations, this would work as follows:

{
“text”: “Andrea is the teacher.”,
“pronunciation”: {
“Andrea”: “an-dreh-ah”
}
}

The model supports IPA and X-SAMPA. You can check out the custom pronunciation docs for the full spec. :slight_smile: