[espeak-ng:master] new issue: Create language specification files #github


espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Issue Created by rhdunn:
#19 Create language specification files

These files should use the BCP47 code for the language (en-GB-scotland, pt-BR, da, etc.) and cover the details for defining that language's behaviour: 1. the dictrule, etc. options in the voice definition files; 2. the options programatically defined in tr_languages.c.

For (2), a set of rule commands will be defined in the language files and processed in a generic processing function. For example, using letter-vowel w in languages/cel/cy instead of SetLetterVowel(tr, 'w'); in tr_languages.c.

The approach to implementing this should be to do it on a language-by-language basis. That is, define the commands needed for a language, supporting it through the generic definition file, then move to the next language.