mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
Move the additional English replacement rule test to language-replace.test.
This commit is contained in:
@@ -38,8 +38,10 @@ Translate 'aeon'
|
||||
Found: 'mediaeval'
|
||||
Translate 'oeconomy'
|
||||
Found: 'phoenix'
|
||||
Translate 'loft'
|
||||
Translate 'history'
|
||||
EOF
|
||||
test_replace en "Æon mediæval. Œconomy phœnix."
|
||||
test_replace en "Æon mediæval. Œconomy phœnix. Loſt history."
|
||||
|
||||
##### hr: Croatian
|
||||
|
||||
|
||||
@@ -52,8 +52,7 @@ test_phonemes en " 'e@ri:z r'eInboU" "♈ 🌈"
|
||||
test_phonemes en " Ekskla#m'eIS@n kw'EstS@n m'A@k" "⁉"
|
||||
test_phonemes en " Ekskla#m'eIS@n kw'EstS@n m'A@k r'eInboU" "⁉ 🌈"
|
||||
test_phonemes en " r'oUlIN 0nD@ fl'o@ l'aafIN" "🤣" # skip words
|
||||
# Test replacement rules
|
||||
test_phonemes en " 'i:T@ d'i:m@n Ens,aIkl@p'oUdi@r- ,0n@m,at@p'oUIk a#m'i:b@ f'i:t@s l'0ft h'Ist@ri" "Æther dæmon encyclopœdia onomatopœic amœba fœtus loſt history"
|
||||
|
||||
# bug: https://github.com/espeak-ng/espeak-ng/issues/471
|
||||
test_phonemes sk " sm'eju:tsa s'a tv'a:R" "☺"
|
||||
test_phonemes sk " bl'ax sm'eju:tsa s'a tv'a:R" "blah ☺"
|
||||
|
||||
Reference in New Issue
Block a user