Hi Cartesia team,
I’m currently testing Pronunciation Dictionaries for TTS and I’ve run into an issue where some entries are not being applied correctly. It seems that entries containing certain symbols may not be matching when they are in the text pronunciation to replace.
For example, the following entry works as expected:
"text": "lpa",
"alias": "<spell>L</spell><spell>P</spell> little <spell>A</spell>",
"pronunciation": "<spell>L</spell><spell>P</spell> little <spell>A</spell>"
}```
However, a very similar entry does not work:
{
"text": "lp(a)",
"alias": "<spell>L</spell><spell>P</spell> little <spell>A</spell>",
"pronunciation": "<spell>L</spell><spell>P</spell> little <spell>A</spell>"
}```
I’m seeing similar behavior with other entries that include symbols. For example, the following also do not seem to work:
"text": "≥2%",
"alias": "at or greater than 2 percent",
"pronunciation": "at or greater than 2 percent"
}```
or
{
"text": "gd+",
"alias": "<spell>GD</spell> positive",
"pronunciation": "<spell>GD</spell> positive"
}```