Commit Graph
3490 Commits
Author SHA1 Message Date
Reece H. Dunn cd17e7c935 docs: remove the references to Z-SAMPA.
Z-SAMPA is a more complex specification than Kirshenbaum, X-SAMPA,
and CXS. Additionally, it specifies phonemes such as palatal and
velar trills that are not defined by IPA and in the context of the
velar trill is marked as being impossible.

As such, Z-SAMPA will not be supported in eSpeak NG for now. That
may change in the future once support for the other transcription
schemes has been implemented.
2018-03-21 07:56:39 +00:00
Reece H. Dunn e5ebf76722 docs: Use 'subtag' instead of 'tag' to correctly refer to BCP47 variant and private use names. 2018-03-20 07:30:57 +00:00
Sascha Brawer 8aa4521d31 Make phoneme properties unsigned
Fixes two sanitizer warnings:

```
src/libespeak-ng/compiledata.c:2291:27: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
src/libespeak-ng/compiledata.c:2424:34: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
```
2018-03-20 02:29:32 +01:00
Reece H. Dunn 0d9c91bac9 Pass AM_CFLAGS to ssml-fuzzer.test. 2018-03-19 22:12:33 +00:00
Reece H. Dunn d5c52ab39f Fix building ssml-fuzzer with libFuzzer. 2018-03-19 21:50:08 +00:00
Reece H. Dunn 39b8768a79 README: Document building with -fsanitize options. 2018-03-19 21:01:20 +00:00
Reece H. Dunn 7429a58510 Merge commit '22009de5f84974e77147fd5264781fb1c09a7764' 2018-03-19 20:51:53 +00:00
Reece H. Dunn 22009de5f8 Fix running the tests with -fsanitize=address. 2018-03-19 20:22:54 +00:00
Reece H. Dunn 45b9b114cf docs: Prefix the private use tags with 'x-'. 2018-03-19 18:44:36 +00:00
Reece H. Dunn 69a9395de9 docs: Rename 'BCP47 {Variants => Tags}'.
This makes it clearer that both variant and private-use tags are
used.
2018-03-19 18:39:22 +00:00
Sascha Brawer a1e1b40073 Use correct BCP47 variant subtag for X-Sampa; shorten other variants
According to page 5 of [RFC5645](https://tools.ietf.org/html/bcp47#page-1-5),
variant subtags must have 5 to 8 characters. A 9-character subtag is
sytactically ill-formed and should be rejected by conforming parsers.

Technically, BCP47 does not allow the use of unregistered variant subtags.
For `fonkirsh`, I’ve filed a
[language variant subtag registration request](https://mailarchive.ietf.org/arch/msg/ietf-languages/1IrLl3n4wJ4Fr1xXV34QquJn8Bc)
with the IETF. If IETF rejects my request, we could probably add
Kirshenbaum to Unicode’s registry for [RFC6497](https://tools.ietf.org/html/rfc6497).

Not sure what to do about the other non-registered variants. If they’re
commonly used, it might be an option to register them as well, but
they seem to be even more exotic than Kirshenbaum, and we wouldn’t to
bloat the BCP47 registry too much. If espeak-ng really wants to handle these
alphabets, it would probably make sense to use BCP47 private-use extensions,
such as `x-fonzsamp`. According to IETF BCP47, private-use subtags can have
up to (but not more than) 8 characters, so I’m shortening these too.
2018-03-19 12:37:14 +01:00
Reece H. Dunn fb5c128f62 Merge remote-tracking branch 'valdisvi/master' 2018-03-19 07:45:19 +00:00
Reece H. Dunn c868c54362 Merge remote-tracking branch 'Christianlm/master' 2018-03-19 07:42:01 +00:00
Reece H. Dunn be106e388e docs: describe the Conlang X-SAMPA transcription scheme. 2018-03-19 07:41:39 +00:00
Reece H. Dunn 74f04f64fd docs: Fix the placement of the alveolar click in the Kirshenbaum consonant table. 2018-03-19 07:40:21 +00:00
Valdis Vitolins 6ba9db469c ru: add stress rule for помощь 2018-03-18 23:27:58 +02:00
Valdis Vitolins 6bb9681b1d ru: clean pronunciation for е, add ребенок as exception word 2018-03-18 23:27:23 +02:00
Valdis Vitolins 52375bdf2f ru: create letter groups for noun suffixes 2018-03-18 23:24:15 +02:00
Valdis Vitolins c2735711ce ru: fix pronunciation of stressed о 2018-03-18 22:23:39 +02:00
Valdis Vitolins bba7b6337f ru: make ь (soft mark) absolutely silent befor iotated vowel
This affect e.g. pronunciation of я (ja) because j then starts from
pause
2018-03-18 22:14:14 +02:00
Valdis Vitolins fe57476c93 ru: format rules 2018-03-18 22:01:55 +02:00
Valdis Vitolins b8cf1ec352 ru: fix inaudible m; (soft m) 2018-03-18 21:42:09 +02:00
Valdis Vitolins 1c58e2a04b ru: reformat and sort list of words 2018-03-18 21:12:42 +02:00
chrislm c281a90a5e IT: Added rules for pronominal verbs and exceptions. 2018-03-18 19:17:42 +01:00
Valdis Vitolins ae74c1f415 Merge branch 'master' of https://github.com/espeak-ng/espeak-ng 2018-03-18 19:51:47 +02:00
Reece H. Dunn 9426399056 docs: describe the X-SAMPA transcription scheme. 2018-03-18 16:04:53 +00:00
Reece H. Dunn 44b75463f6 docs: Extend the phonemes document to cover the remaining IPA suprasegmentals for completeness. 2018-03-18 12:53:36 +00:00
Reece H. Dunn 3fcf990370 docs: Fix the spacing of the symbol column in the fortis and lenis section of the phonemes document. 2018-03-18 11:41:25 +00:00
Reece H. Dunn 3918810893 docs: Fix the position of the p and f ejectives in the IPA consonant table. 2018-03-18 09:06:27 +00:00
Valdis Vitolins 4ac932ea2c ru: add more unstressed words 2018-03-18 01:27:39 +02:00
Valdis Vitolins 9529232d81 ru: put together auxiliary words, sort and remove duplicates 2018-03-18 01:27:31 +02:00
Valdis Vitolins 09bd8cee9f ru: leave only intonation settings in ru_list, because spelling is set in ru_rules 2018-03-18 01:27:11 +02:00
Valdis Vitolins 6cc1c00900 ru: spell singe consonant particles б, в, ж, к, с with schwa 2018-03-18 01:26:58 +02:00
Valdis Vitolins 65d5e6729e ru: sort and format rules 2018-03-18 01:26:48 +02:00
Valdis Vitolins 56fedaeb7c ru: as single letters can be words with different pronunciation, move them to ru_rules file 2018-03-18 01:26:08 +02:00
Reece H. Dunn dd6ed3f438 docs: Split out the ASCII-IPA ':' character into a suprasegmentals section and document the stress markers. 2018-03-17 17:40:17 +00:00
Reece H. Dunn dc67d294c2 docs: describe the Kirshenbaum (ASCII-IPA) transcription scheme. 2018-03-17 17:27:44 +00:00
Reece H. Dunn 1fa7c141f9 docs: Fix the markdown warnings from kramdown. 2018-03-17 11:15:08 +00:00
Reece H. Dunn 3e249bc196 docs: Add notes for the remaining kirshenbaum features in phonemes.md. 2018-03-17 11:00:38 +00:00
Reece H. Dunn cf3cabc140 Revert "Describe the additional Cainteoir Text-to-Speech phonemes for the articulation diacritics."
This reverts commit 39994150ba.
2018-03-17 10:16:41 +00:00
Reece H. Dunn 768957e0fc Don't copy filepath to buf. [coverity]
No modification was being done to buf after the copy of filepath.
It was just being passed to fopen. As such the copy is redundant,
and can lead to buffer overflow issues if the specified filepath
is larger than buf.
2018-03-17 07:13:21 +00:00
Reece H. Dunn d0410d8585 Include dictionary.h in the relevant source files to avoid implicit-function-declaration warnings. 2018-03-17 07:12:45 +00:00
Reece H. Dunn bc1d7cabcc Merge branch 'windows' 2018-03-16 12:58:30 +00:00
Reece H. Dunn 39994150ba Describe the additional Cainteoir Text-to-Speech phonemes for the articulation diacritics. 2018-03-16 12:58:09 +00:00
Reece H. Dunn da980182e3 Document the origin of the phoneme features in phonemes.md. 2018-03-16 12:49:04 +00:00
Reece H. Dunn 63d2b66316 Update the links to Kishenbaum's ASCII-IPA. The site is no longer active, so use the wayback machine (internet archive). 2018-03-16 12:30:28 +00:00
Reece H. Dunn 2d69743ddf README: The audio output configuration has been replaced by pcaudiolib, so remove that section. 2018-03-15 07:36:03 +00:00
Reece H. Dunn a3c1a00d45 android: fix downloading the android gradle plugin version 2.3.3. 2018-03-15 07:29:22 +00:00
Reece H. Dunn a0d8e8df78 android: add the new ssml.c source file 2018-03-15 07:28:08 +00:00
Reece H. Dunn 81cfcecfe7 tests: remove a todo comment that is not relevant (it was added by mistake) 2018-03-15 07:20:09 +00:00