Valdis Vitolins
26b067a68b
ar: move default stress rule from code to config file
6 years ago
Reece H. Dunn
9d901e48be
shn: support numbers for 100, 1000, and 10000
6 years ago
Reece H. Dunn
61672f5e24
Use defines for the different number breaking systems to improve readability.
6 years ago
Reece H. Dunn
273b8e2a1f
en: support numbers upto a hundred nonillion
6 years ago
Reece H. Dunn
9638750579
Always flush stdout when reading stdin line by line.
6 years ago
Reece H. Dunn
1c60fb7f62
Don't use STRESSPOSN_1L for thousands_sep in the Slovak/Czech language setup.
6 years ago
Reece H. Dunn
c6ac526847
When printing phonemes, don't add a space at the start of a sentence or clause.
6 years ago
Reece H. Dunn
65186c07df
Preserve the sourceix property of a deleted phonSWITCH phoneme.
6 years ago
Reece H. Dunn
cf6d14783c
Preserve the sourceix property of a deleted phoneme for replaced phonemes.
6 years ago
Reece H. Dunn
8e13f7147c
Add constants for use with PHONEME_LIST.newword.
6 years ago
Reece H. Dunn
86bbc257b0
Support matching any length strings in the replacement rules.
7 years ago
Reece H. Dunn
98e9122dfc
FindReplacementChars: Pass in the source buffer (next characters) instead of next_in.
7 years ago
Reece H. Dunn
4fbcda9c2a
FindReplacementChars: Use an nc (next character) variable.
7 years ago
Reece H. Dunn
cacc212d4b
FindReplacementChars: Rename uc to fc.
7 years ago
Reece H. Dunn
a9d4bdd7f7
Make ignore_next into ignore_next_n to support ignoring multiple next characters.
7 years ago
Reece H. Dunn
252f5772ae
Simplify printing the replace message.
7 years ago
Reece H. Dunn
55c64036e0
Use UTF-8 strings in replace rules, instead of a packed UTF-16 pair.
7 years ago
Reece H. Dunn
0e91fcbc04
Don't use pw when reading the replacement data.
7 years ago
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
.
7 years ago
Reece H. Dunn
bba7069cb3
issue #520: Use .replace rules in the language rule files for Cyrillic to Latin
7 years ago
Reece H. Dunn
32ab396ea1
Don't declare the Arabic letter strings using array syntax.
7 years ago
Reece H. Dunn
bfe184c641
Make PrepareLetters actually set the letter bits, and rename to SetLetterBitsUTF8.
7 years ago
Reece H. Dunn
7f42bd39b4
Move PrepareLetters next to SetLetterBitsRange.
7 years ago
Reece H. Dunn
22ee347234
Use script name prefixes in the Set[Script]Letters functions for group bit lists.
7 years ago
Reece H. Dunn
36c6727e90
issue #518: Add the 'е є ї' letters to the Y group in Translate_Russian, not SetCyrillicLetters.
7 years ago
Reece H. Dunn
17dac5ea53
Add a comment to SetCyrillicLetters describing which languages it applies to.
7 years ago
Reece H. Dunn
e7e59f99d3
Fix the warnings in PrepareLetters.
7 years ago
Valdis Vitolins
6b57e97283
ar: set default stress on antepenultimate syllable
7 years ago
Valdis Vitolins
c92e70183c
ar: allow diacritics before normal letters as Arabic characters
7 years ago
Valdis Vitolins
1cf7549392
Prepare Arabic letters using PrepareLetters() function
PrepareLetters() function also could be used to set up letter groups A, B, C, etc. from string
and further could be loaded from configuration file
7 years ago
Reece H. Dunn
801a8d197c
TranslateChars: Supress an unsigned to signed cast
7 years ago
Valdis Vitolins
64d5701e5e
Remove unused word_flags parameter
7 years ago
Valdis Vitolins
3b51ebf617
Remove previous implementation of .replace rule
7 years ago
Valdis Vitolins
9f0667de86
Part of issue #199 — extend .replace rule to allow using groups of characters
7 years ago
Reece H. Dunn
4723b5be58
Unicode Emoji 11.0 Extended_Pictographic property support.
7 years ago
Reece H. Dunn
22457d74b2
Unicode Emoji 11.0.0
7 years ago
Reece H. Dunn
38f97db0ed
Simplify the logic for Mc properties.
7 years ago
Reece H. Dunn
eafeaec26f
Unicode Character Data 11.0.0
7 years ago
Reece H. Dunn
91744ac171
Fix gcc 7.3.0 warnings in translate.c.
7 years ago
Juho Hiltunen
bafc8e0f24
Emoji: skip multi-word replacements.
Fixes #511 .
7 years ago
Valdis Vitolins
18eeefca19
Improve comments for character translation
7 years ago
Valdis Vitolins
dc0165821f
Fix comments about conversion
7 years ago
Valdis Vitolins
bf3bb39fb0
Implementation for feature #489
When .replace rule is used and -X switch is passed in runtime,
replaced characters should be shown in trace output.
7 years ago
Valdis Vitolins
789d820ad4
shn: add support for Shan language from ronaldaug
7 years ago
Valdis Vitolins
f0321bfae7
ru: add only и to Y (iotated) letter group for Russian
as all other letters are already there from Cyrillic.
7 years ago
Valdis Vitolins
c53141ff12
ru: issue #491 — add е, ї and є to list of iotated vowels
7 years ago
Reece H. Dunn
55d001514e
Don't print 'Bad rules data in ...' if there are no rules in the dictionary.
7 years ago
Reece H. Dunn
0325a42374
Revert "wavegen.c: Fix -Wunused-but-set-variable warning."
This reverts commit 6d751c93bf
.
Fixes https://github.com/nvaccess/nvda/issues/8231 .
7 years ago
Reece H. Dunn
df247b7cab
Fix the ispunct ctype implementation.
7 years ago
Samuel Thibault
d844a47804
Make it possible to restart speech even when audio open failed once
When notably the audio card is busy, we should report the issue to the
application, but still permit the application to retry submitting text
to synth, and eventually succeed to open it.
This change simply fixes the update of the out_samplerate variable to track
whether audio is open, and if not when text is submitted by the application,
try again to open it.
7 years ago