forked from len0rd/rockbox
voice-corrections: move generic corrections to the END and document why
This is because a language may have a specific correction that should take precedence over the global one, but if the global one is applied first, then the language-specific correction gets skipped. Change-Id: I45f736f20d6c83864df0bf764ca3d75ec4b9626a
This commit is contained in:
parent
6c2f8f640f
commit
8b1efab7a6
1 changed files with 17 additions and 15 deletions
|
@ -4,9 +4,7 @@
|
||||||
Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
\/ \/ \/ \/ \/
|
\/ \/ \/ \/ \/
|
||||||
$Id$
|
|
||||||
|
|
||||||
|
|
||||||
Voice string corrections for voice.pl to support TTS engines.
|
Voice string corrections for voice.pl to support TTS engines.
|
||||||
The list items are separated by the separator that is defined by the first
|
The list items are separated by the separator that is defined by the first
|
||||||
character on the line. If the first character is a whitespace the line will
|
character on the line. If the first character is a whitespace the line will
|
||||||
|
@ -19,18 +17,9 @@
|
||||||
Empty lines and lines starting with a whitespace are ignored, for all other
|
Empty lines and lines starting with a whitespace are ignored, for all other
|
||||||
lines the first character will become the separator.
|
lines the first character will become the separator.
|
||||||
|
|
||||||
General for all engines and languages
|
Note that the contents of this file are applied IN ORDER, so you must place
|
||||||
|
more generic rules at the end. For example, the Russian-specific
|
||||||
/.*/.*/.*/USB/U S B/g
|
correction for 'USB' conflicts with the generic correction.
|
||||||
/.*/.*/.*/LCD/L C D/g
|
|
||||||
/.*/.*/.*/VBR/V B R/g
|
|
||||||
/.*/.*/.*/FPS/F P S/g
|
|
||||||
/.*/.*/.*/RWPS/R W P S/g
|
|
||||||
/.*/.*/.*/WPS/W P S/g
|
|
||||||
/.*/.*/.*/ID3/I D 3/g
|
|
||||||
/.*/.*/.*/DAC/D A C/g
|
|
||||||
/.*/.*/.*/ADC/A D C/g
|
|
||||||
/.*/.*/.*/last\.fm/Last F M/ig
|
|
||||||
|
|
||||||
English
|
English
|
||||||
|
|
||||||
|
@ -133,3 +122,16 @@
|
||||||
/svenska/espeak/.*/procent/pro-cent/ig
|
/svenska/espeak/.*/procent/pro-cent/ig
|
||||||
/svenska/espeak/.*/spellistor/spelistor/ig
|
/svenska/espeak/.*/spellistor/spelistor/ig
|
||||||
/svenska/espeak/.*/cuesheet/qjyschiit/ig
|
/svenska/espeak/.*/cuesheet/qjyschiit/ig
|
||||||
|
|
||||||
|
General for all engines and languages
|
||||||
|
|
||||||
|
/.*/.*/.*/USB/U S B/g
|
||||||
|
/.*/.*/.*/LCD/L C D/g
|
||||||
|
/.*/.*/.*/VBR/V B R/g
|
||||||
|
/.*/.*/.*/FPS/F P S/g
|
||||||
|
/.*/.*/.*/RWPS/R W P S/g
|
||||||
|
/.*/.*/.*/WPS/W P S/g
|
||||||
|
/.*/.*/.*/ID3/I D 3/g
|
||||||
|
/.*/.*/.*/DAC/D A C/g
|
||||||
|
/.*/.*/.*/ADC/A D C/g
|
||||||
|
/.*/.*/.*/last\.fm/Last F M/ig
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue