Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to supply input tables via a config file #27

Open
darkhog opened this issue Oct 10, 2022 · 0 comments
Open

Add ability to supply input tables via a config file #27

darkhog opened this issue Oct 10, 2022 · 0 comments

Comments

@darkhog
Copy link

darkhog commented Oct 10, 2022

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant