mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-14 09:37:47 +00:00
Revert the new (broken) replacement rule logic.
The replacement tests for bs, hr, and sr are no longer marked as broken as they work using the old code. The mk tests keep the broken annotation, as they don't work in the old code either. This reverts commit801a8d197c. This reverts commit64d5701e5e. This reverts commit3b51ebf617. This reverts commit1fd235d2c0. This reverts commit9f0667de86.
This commit is contained in:
+3
-3
@@ -509,9 +509,9 @@ each language. The number fragments are given in the `*_list` file.
|
||||
## Character Substitution
|
||||
|
||||
Character substitutions can be specified by using a `.replace` section
|
||||
at the start of the `*_rules` file. In each line several characters can be
|
||||
replaced by several other characters. (Source and target of replacement can consume
|
||||
up to 40 bytes.) This substitution is done to a word _before_ word is searched
|
||||
at the start of the `*_rules` file. In each line one character can be
|
||||
replaced by one or two characters. (Source and target of replacement can consume
|
||||
up to four bytes.) This substitution is done to a word _before_ word is searched
|
||||
in `*_list` or `*_listx` file and translated using the spelling-to-phoneme rules.
|
||||
Only the lower-case version of the characters needs to be specified. e.g.:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user