-
Notifications
You must be signed in to change notification settings - Fork 312
Description
Sam has issue with certain words, such as "aren't" or "naive". I think an addition could be made that would allow to give a replacement table for specific words, or even complete table. The config file would be a simple text file with tabulator-separated match-phonemes pairs. If the first line would be #disable regexp it would be a simple lowercase match (usable for "patching out" words which aren't pronounced correctly (such as aren't or naive) without making your head explode by having to use regexps.
Example of the config file:
#disable regexp
aren't AAREHNT
naive NAIYIYV
There would be two new command line switches added to the program -patchtable which would just add the supplied table to the built-in one and -reptable which would replace it completely (usable for adapting SAM to speak in another language than English).