karashiiro / TextToTalk

Chat TTS plugin for Dalamud. Has support for triggers/exclusions, several TTS providers, and more!
MIT License
47 stars 30 forks source link

Fixes aliases so that text that matches with graphemes get replaced with the lexeme's alias. #117

Closed ryankhart closed 2 years ago

ryankhart commented 2 years ago

Remove requirement for lexemes to have a phoneme. Add check to see if phoneme exists before attempting to use it. Remove redundant alias checks.

One thing I couldn't solve was preventing UK Amazon Polly voices from saying "nine inch nails" in place of "nin" because if I replaced "nin" with a "ninja" alias, then words like "nintendo" would be replaced with "ninjatendo". Hilarious, but no thank you. I'll just keep only one grapheme for the "ninja" alias, the all caps one "NIN". I should find out if I can just send Amazon some feedback about my complaints instead of trying to shoehorn this project to workaround it.