Commit Graph
3865 Commits
Author SHA1 Message Date
Reece H. Dunn 0e91fcbc04 Don't use pw when reading the replacement data. 2018-07-23 21:15:05 +01:00
Reece H. Dunn 424f705525 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 commit 801a8d197c.
This reverts commit 64d5701e5e.
This reverts commit 3b51ebf617.
This reverts commit 1fd235d2c0.
This reverts commit 9f0667de86.
2018-07-23 19:38:46 +01:00
Reece H. Dunn bae92dab38 ja: Add tests for replacing Katakana (Kana) with Hiragana (Hira). 2018-07-23 07:38:12 +01:00
Reece H. Dunn 9660df7743 mk: Add tests for replacing Latin with Cyrillic. 2018-07-23 07:30:52 +01:00
Reece H. Dunn bfb624824e Move the additional English replacement rule test to language-replace.test. 2018-07-21 19:40:00 +01:00
Reece H. Dunn 672c07b3a9 Reorganize the language pronunciation tests. 2018-07-21 19:37:43 +01:00
Reece H. Dunn 93e23a47c8 issue #521: add spelling tests for all languages
Tests include pangrams from http://clagnut.com/blog/2380/.

Based on a patch by Valdis Vitolins <valdis.vitolins@odo.lv>.
2018-07-21 19:06:11 +01:00
Reece H. Dunn 28ed50c423 Add support for skipping broken tests, and make the bs, hr, and sr tests use the correct output. 2018-07-21 16:43:40 +01:00
Reece H. Dunn d03d09a207 Merge remote-tracking branch 'jaacoppi/french' 2018-07-21 16:29:08 +01:00
Reece H. Dunn cd54fae72d Don't run the bs, hr, and sr replacement tests as these are unreliable. 2018-07-21 16:28:57 +01:00
Reece H. Dunn d83f5e654d sl: remove the Cyrillic to Latin replacements.
These were added in espeak 1.47.11a, but Slovenian uses Latin
like Polish and Czech.

The earliest form of Slovene (the Freising Manuscripts, between
972-1039) are written in Latin.

Some Cyrillic and Cyrillic-like letters were used in addition to
Latin in the Dajnko and Metelko alphabets between 1824 and 1838,
but these alphabets did not catch on.

The modern form is based on the Serbo-Croatian Gaj's Latin alphabet.
This is the alphabet represented in the espeak `replace_cyrillic_latin`
table. Slovenian does not use the Cyrillic variant of this alphabet.
2018-07-21 16:08:46 +01:00
Reece H. Dunn 9de0a55405 bs: add replacement rule tests for Cyrillic 2018-07-21 15:28:35 +01:00
Reece H. Dunn c1c184816a hr: add replacement rule tests for Cyrillic 2018-07-21 15:27:22 +01:00
Reece H. Dunn 2e5179842f sr: add replacement rule tests for Cyrillic 2018-07-21 14:36:55 +01:00
Reece H. Dunn b07448cf30 en: add replacement rule tests 2018-07-21 14:30:14 +01:00
Reece H. Dunn bba7069cb3 issue #520: Use .replace rules in the language rule files for Cyrillic to Latin 2018-07-21 14:09:04 +01:00
Reece H. Dunn 530686f2fd language-pronunciation.test: Support an optional message/description. 2018-07-21 13:19:42 +01:00
Juho Hiltunen fe60e0e9b3 fr: change pronunciation of some words ending in -us. 2018-07-20 12:42:35 +03:00
Reece H. Dunn 32ab396ea1 Don't declare the Arabic letter strings using array syntax. 2018-07-19 20:21:09 +01:00
Reece H. Dunn bfe184c641 Make PrepareLetters actually set the letter bits, and rename to SetLetterBitsUTF8. 2018-07-19 20:19:15 +01:00
Reece H. Dunn 7f42bd39b4 Move PrepareLetters next to SetLetterBitsRange. 2018-07-19 20:03:23 +01:00
Reece H. Dunn 22ee347234 Use script name prefixes in the Set[Script]Letters functions for group bit lists. 2018-07-19 20:00:47 +01:00
Reece H. Dunn 36c6727e90 issue #518: Add the 'е є ї' letters to the Y group in Translate_Russian, not SetCyrillicLetters. 2018-07-19 19:49:28 +01:00
Reece H. Dunn 17dac5ea53 Add a comment to SetCyrillicLetters describing which languages it applies to. 2018-07-19 19:19:03 +01:00
Reece H. Dunn e7e59f99d3 Fix the warnings in PrepareLetters. 2018-07-16 07:51:20 +01:00
Valdis Vitolins f5ad8ea561 docs: add note for Arabic language 2018-07-15 18:54:25 +03:00
Valdis Vitolins f9fd8ddc84 ar: Update changelog 2018-07-15 18:50:16 +03:00
Valdis Vitolins 9677659cee ar: add rule to stress penultimate syllable for closed last syllable 2018-07-15 18:42:18 +03:00
Valdis Vitolins 6b57e97283 ar: set default stress on antepenultimate syllable 2018-07-15 18:41:50 +03:00
Valdis Vitolins d695c01026 ar: add replacement rules from specific Hamza to standard Hamza 2018-07-15 18:41:27 +03:00
Valdis Vitolins d45b5a0140 ar: add explicit rules for end of word, shadda and sukun after consonants 2018-07-15 18:41:19 +03:00
Valdis Vitolins 419a23d666 ar: kasra/damma before waw/yeh should be consumed during spelling decision 2018-07-15 18:41:10 +03:00
Valdis Vitolins 92074bf124 ar: fix rules for carried hamza 2018-07-15 18:41:02 +03:00
Valdis Vitolins a209324dc8 ar: add more backsound for vowels after thick consonants for synthesized voice 2018-07-15 18:40:51 +03:00
Valdis Vitolins aab2143a5a ar: make lengtening phoneme longer, remove unnecessary rules for doubled phonemes 2018-07-15 18:40:39 +03:00
Valdis Vitolins dd9e37bbe4 ar: remove unnecessary shadda rules
With properly ordered diacritics using replace rules before,
shadda should be always directly after consonant
2018-07-15 18:40:31 +03:00
Valdis Vitolins dd551386a9 ar: add rules to reorder diacritics in 'canonical order' 2018-07-15 18:40:24 +03:00
Valdis Vitolins 7205e6dc45 ar: fix formatting 2018-07-15 18:40:17 +03:00
Valdis Vitolins 67db60b31b ar: create letter groups G (shadda), H (hamza), Y (sukun) 2018-07-15 18:40:08 +03:00
Valdis Vitolins 45905c39f2 ar: create group of short vowels A 2018-07-15 18:40:01 +03:00
Valdis Vitolins d5a875fce8 ar: create group of thick letters F 2018-07-15 18:39:53 +03:00
Valdis Vitolins cfa13e7ec6 ar: create consonant/vowel letter group B 2018-07-15 18:39:44 +03:00
Valdis Vitolins db05102c3c ar: ad rule for alef wasla 2018-07-15 18:39:35 +03:00
Valdis Vitolins 42a123b5bc ar: remove duplicated rule 2018-07-15 18:39:27 +03:00
Valdis Vitolins c24e12dfae ar: remove rule overlapping with ه (_S1 h 2018-07-15 18:39:19 +03:00
Valdis Vitolins d663645c05 ar: consonant at the end of word is without vowel 2018-07-15 18:39:11 +03:00
Valdis Vitolins 56e86d952e ar: add lengthen character for doubled two-letter phonemes 2018-07-15 18:39:04 +03:00
Valdis Vitolins 7a89051ccb ar: use rules for diacritics instead of teh rules 2018-07-15 18:38:57 +03:00
Valdis Vitolins 779fdc78a6 ar: words ending ...ah should be spelled as ..a 2018-07-15 18:38:49 +03:00
Valdis Vitolins a61fd63ee0 ar: change doubled phonemes to long phoneme 2018-07-15 18:38:40 +03:00