Skip to content

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

@darkhog

Description

@darkhog

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions