Commit Graph
56 Commits
Author SHA1 Message Date
Valdis Vitolins d15de8cd78 Fix introduced bugs during refactorization 2021-04-06 17:45:28 +03:00
Valdis Vitolins 842cd3e25e Replace test_phonemes(), test_phonemes1() and test_dict() with single test_phon() 2021-04-06 16:28:23 +03:00
Valdis Vitolins 6fcb110b83 Move MESSAGE argument as 4th, to make arguments similar to other functions 2021-04-06 00:31:42 +03:00
Valdis Vitolins ec552d2566 Move common functions into common script 2021-04-05 23:24:06 +03:00
Valdis Vitolins 7b160873f7 tr: fix test for changed pronunciation 2021-03-02 22:17:57 +02:00
Juho Hiltunen 23172c4f74 jbo: add a test for capitals within words (LOPT_CAPS_IN_WORD) 2020-12-28 11:24:26 +02:00
Juho Hiltunen 55eb89ae5d jbo: fix pronunciation of " i" and " .i".
This test is related to the next two lojban commits. Thanks to xunsku @ irc.freenode.org
2020-12-26 20:04:54 +02:00
Valdis Vitolins f0a12ee833 Fix issue #848: Māori improvements 2020-12-06 13:52:45 +02:00
Valdis Vitolins 5deac40b1a Fix issue #811: improve Interlingua language 2020-08-25 23:17:26 +03:00
Valdis Vitolins 53c59f46e9 Improve Turkmen language 2020-07-04 18:45:17 +03:00
Ejaz Shah d1c95d8b29 Improvements for Urdu 2020-06-28 16:02:35 +03:00
Valdis Vitolins eaaf38f761 tk: include tk_listx file, update pronunciation test 2020-05-29 21:52:37 +03:00
Valdis Vitolins 2008b1afb6 Issue #762: improve Bashkir language 2020-05-27 23:26:55 +03:00
Valdis Vitolins 3d88d7edd4 Issue #761: add initial support for Turkmen language 2020-05-27 23:01:23 +03:00
Valdis Vitolins 9f9a4980a7 Issue #760: improve Uzbek language 2020-05-26 23:57:44 +03:00
Valdis Vitolins a35c29f76d Latvian language improvements 2020-05-17 21:47:01 +03:00
Samuel Thibault 171e8a4e09 Fix testsuite with /bin/sh being bash
With bash, echo "a\nb" will not interpret \n, while with dash, echo will
interpret \n. bash's echo would need -e, but dash does not know that
option and just prints it.

We can however just put \n litteraly in the script, both bash and dash
will understand it.
2020-01-04 15:27:49 +01:00
Reece H. Dunn 00c37d667f grc: add Greek variant letter form support; fixes pronunciation of the test 2019-12-04 07:42:18 +00:00
Ejaz Shah f22704ad04 Improvements for Sindhi 2019-10-02 17:19:30 +03:00
Valdis Vitolins 15f8741bce Merge pull request #607 2019-04-21 15:48:38 +03:00
Anh Hoang Nguyen 3fede4b4dd vi: update pronunciation test 2019-04-14 09:57:42 +07:00
Karl Eick 04ce37c083 de: merge pull request #595 — improvements for German language 2019-04-04 15:07:08 +03:00
Valdis Vitolins 1b245787bf vi: update pronunciation test 2019-03-17 15:32:02 +02:00
Valdis Vitolins 8356a182a9 vi: update language pronunciation test 2019-02-27 16:02:08 +02:00
Valdis Vitolins 38d4afb212 ur: updates from Ejaz Shah 2019-01-18 14:22:13 +02:00
Valdis Vitolins 638d359426 sd: updates from Ejaz Shah 2019-01-18 14:22:04 +02:00
Reece H. Dunn 62109670a9 Merge remote-tracking branch 'valdisvi/arabic' 2018-09-30 16:45:54 +01:00
Valdis Vitolins c037223bdb ar: make proclitics unstressed 2018-09-20 19:56:58 +03:00
Valdis Vitolins 9c75745cf5 lt: Issue: https://github.com/rhdunn/espeak/issues/18 — merge language improvements from https://github.com/mondhs/espeak/commits/master 2018-09-16 16:46:21 +03:00
Valdis Vitolins f86540308c ar: define Z phoneme explicitly
otherwise it can't be distinguished from D
2018-09-11 16:49:31 +03:00
Valdis Vitolins 5c7dd911f1 ar: move decision logic of dark vowels to ar_rules file 2018-09-11 16:31:46 +03:00
Reece H. Dunn c6ac526847 When printing phonemes, don't add a space at the start of a sentence or clause. 2018-08-19 13:11:18 +01:00
Reece H. Dunn 65186c07df Preserve the sourceix property of a deleted phonSWITCH phoneme. 2018-08-19 10:11:05 +01:00
Reece H. Dunn cf6d14783c Preserve the sourceix property of a deleted phoneme for replaced phonemes. 2018-08-19 09:35:03 +01:00
Reece H. Dunn 910f4c2a72 Add ISO 15924 script codes to the remaining language pronunciation tests. 2018-07-25 20:51:23 +01:00
Reece H. Dunn 475bfdcb66 Use the ISO 15924 4-letter script names consistently in the tests. 2018-07-25 19:46:34 +01:00
Valdis Vitolins 4a7118dba1 Fix issue #530 Broken replacement from Cyrrilic to Latin for Lingua Franca Nova 2018-07-25 19:55:15 +03:00
Valdis Vitolins 5439b89db8 Issue #521 — add spelling tests for more langugages
Sample sentences for languages are taken from:

- Afrikaans https://www.omniglot.com/writing/afrikaans.htm
- Albanian https://www.omniglot.com/writing/albanian.htm
- Amharic https://www.bbc.com/amharic
- Ancient Greek: http://titus.uni-frankfurt.de/unicode/samples/grbeisp.htm
- Aragonese https://www.omniglot.com/writing/aragonese.php
- Armenian: https://elinux.org/UTF8_Sampler
- Assamese https://www.omniglot.com/writing/assamese.htm
- Azerbaijani https://www.omniglot.com/writing/azeri.htm
- Basque https://www.omniglot.com/writing/basque.htm
- Bengali https://www.bbc.com/bengali/news
- Dutch https://www.omniglot.com/writing/dutch.htm
- Greenlandic: https://www.omniglot.com/writing/greenlandic.htm
- Guarani: https://www.omniglot.com/writing/guarani.htm
- Gujarati: http://mylanguages.org/gujarati_reading.php
- Haitian Creole: https://www.omniglot.com/writing/haitiancreole.htm
- Interlingua: https://www.omniglot.com/writing/interlingua.htm
- Kannada: https://www.omniglot.com/language/phrases/kannada.php
- Kyrgyz: https://ru.wikipedia.org/wiki/%D0%9A%D0%B8%D1%80%D0%B3%D0%B8%D0%B7%D1%81%D0%BA%D0%B0%D1%8F_%D0%BF%D0%B8%D1%81%D1%8C%D0%BC%D0%B5%D0%BD%D0%BD%D0%BE%D1%81%D1%82%D1%8C
- Konkani (Devanagari) https://r12a.github.io/scripts/devanagari/
- Kurdish https://www.omniglot.com/writing/kurdish.htm
- Lingua Franca Nova https://www.omniglot.com/writing/lfn.htm
- Lobjan: https://www.omniglot.com/writing/lojban.htm
- Malay https://www.omniglot.com/writing/malay.htm
- Maltese https://www.omniglot.com/writing/maltese.htm
- Marathi https://www.bbc.com/marathi
- Māori https://www.omniglot.com/writing/maori.htm
- Nahuatl https://www.gutenberg.org/files/12219/12219-h/12219-h.htm
- Oriya https://www.omniglot.com/writing/oriya.htm
- Oromo https://www.omniglot.com/writing/oromo.htm
- Papiamento https://www.omniglot.com/writing/papiamento.php
- Punjabi https://pa.wikipedia.org/wiki/%E0%A8%AD%E0%A8%BE%E0%A8%B0%E0%A8%A4_%E0%A8%A6%E0%A8%BE_%E0%A8%B0%E0%A8%BE%E0%A8%B8%E0%A8%BC%E0%A8%9F%E0%A8%B0%E0%A8%AA%E0%A8%A4%E0%A9%80
- Setswana https://www.omniglot.com/writing/tswana.php
- Sindhi https://en.wikipedia.org/wiki/Sindhi_language
- Sinhala https://www.bbc.com/sinhala
- Tamil http://kermitproject.org/utf8.html
- Tatar https://www.omniglot.com/writing/tatar.htm
- Telugu http://kermitproject.org/utf8.html
- Vietnamese https://www.omniglot.com/writing/vietnamese.htm
2018-07-25 16:56:47 +03:00
Valdis Vitolins d3f2a753f3 Fix issue #527 — spelling differs for Russian with or without extended dictionary 2018-07-25 13:23:42 +03:00
Reece H. Dunn 27454f56f4 mk: Don't map đ and ć to Serbian ђ and ћ (use Macedonian ѓ and ќ instead). 2018-07-23 23:57:24 +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 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 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 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
Valdis Vitolins d5384677a4 ru: add test for iotated vowels 2018-05-17 21:15:21 +03:00