Commit Graph
5255 Commits
Author SHA1 Message Date
kirill-jjj 789eeba55c Russian: fix a bug with conjunctions 2022-10-14 23:59:48 +05:00
Alexander Epaneshnikov 828862448a Russian update (#1433) 2022-10-14 19:49:35 +03:00
kirill-jjj 09cf6e7124 Russian: fix for some symbols 2022-10-14 21:27:13 +05:00
kirill-jjj 5a3e71c50d add over 50 new words to listx file, and remove some of rong written 2022-10-14 17:08:54 +05:00
kirill-jjj 61d9995f09 Russian: fix for words with жь at end 2022-10-14 16:57:48 +05:00
kirill-jjj 5247b616fa Russian: fix for letter's дк and дх and сь+voiced consonant 2022-10-14 11:56:20 +05:00
Alexander Epaneshnikov 0efae53f91 Belarusian: improvements (#1417) 2022-10-14 00:37:43 +03:00
Sergei B 30105a4869 Changelog: add authors of changes in Belarusian 2022-10-14 00:32:08 +03:00
Sergei B 77fff15822 Belarusian: added tests
added tests to:
- language-numbers-cardinal.test
- tests/language-phonemes.test
- tests/language-pronunciation.test
2022-10-14 00:32:08 +03:00
Sergei B 3199d7889b Belarusian: improvements
- fixed/removed not working rules in be_list
- added stress to the words in be_list
- fixed multi thousand transcription
- removed not working rules in be_rules
- added rules of palatalization, phonemes lengthen
- fixed dropping of [a] at the end of words
- fixed message "Full dictionary is not installed for"
- added configuration in tr_languages.c
- fixed/added phonemes for `Q`, `ts`, `ts;`, `dz`, `dz.`, `;` etc
2022-10-14 00:32:08 +03:00
Alaksiej Stankievič 68b9ca5d83 Rework rules for Belarusian and update phonemes
This patch strip out dependency on Russian, as its complicated relationship
between spelling and pronunciation overburden rules for Belarusian. The rules
themselves are also added. They don't have devoicing at the end of the words
for now. Also, gemination of consonants doesn't work as expected, as it seems
on the top of this rule some other rules apply. This after-processing is
responsible also for the strange behaviour of ending [a].
2022-10-14 00:32:08 +03:00
Alexander Epaneshnikov a157abddbe Russian: fix for words with ши and жи at end (#1431)
words like ножи, персонажи, напиши, покажи.
2022-10-13 23:54:17 +03:00
kirill-jjj ac1cd212ad Russian: fix for words with ши and жи at end 2022-10-14 01:47:38 +05:00
Alexander Epaneshnikov 57e7fa74ff Update ChangeLog to include Updating Russian language (#1426) 2022-10-12 01:06:27 +03:00
kirill-jjj baf273fa45 Update ChangeLog to include Updating Russian language 2022-10-12 01:00:25 +03:00
Alexander Epaneshnikov feb75d3113 a bunch of fix's for russian language (#1425) 2022-10-11 23:42:25 +03:00
kirill-jjj 762eba359d russian: a bunch of improvements 2022-10-11 23:36:34 +03:00
Alexander Epaneshnikov 3a3cbb95fb Georgian: increase numbers to use maximum digits (#1423) 2022-10-11 17:34:48 +03:00
Beqa Gozalishvili d44cc383bd Georgian: increase numbers to use maximum digits 2022-10-11 15:16:46 +04:00
Juho Hiltunen 43d7c29d52 Increase targetSdk to 30 and support signature scheme v2 (#1413)
[This removes the warning that this app may not be compatible because it
was developed for an older
android-version.](https://developer.android.com/about/versions/10/behavior-changes-all#low-target-sdk-warnings)
Also, this adds support for signature scheme v2 and v3 [which reduces
the attack surface along with other
benefits](https://source.android.com/docs/security/features/apksigning#v1).
Lastly this adds 64-bit support for the APK, so this app can be
installed on 64-bit-only hardware.
2022-10-11 06:37:17 +03:00
Juho Hiltunen c05690be34 cleanup: move LoadConfig to langopts.c
LoadConfig() should be refactored to support both voice and language options set
in LoadVoice() and LoadLanguageOptions().
2022-10-10 21:36:25 +03:00
Juho Hiltunen 0f1f006afe Merge branch 'spellingStress' 2022-10-10 21:25:29 +03:00
Juho Hiltunen dc60881171 et: fi: move spellingStress from code to language configuration 2022-10-10 21:20:53 +03:00
Juho Hiltunen 53e40ead80 docs: add spellingStress 2022-10-10 21:20:53 +03:00
Juho Hiltunen 015bb42a70 new configurable language option: spellingStress 2022-10-10 21:20:20 +03:00
Juho Hiltunen f342b5d319 cleanup: make spelling_stress bool and set default value 2022-10-10 21:04:25 +03:00
Juho Hiltunen e03ab8a8c4 tests: add a test for langopts.spelling_stress 2022-10-10 21:04:25 +03:00
Juho Hiltunen c701b09c25 cleanup: reorganize LOPT defines 2022-10-10 20:08:22 +03:00
Juho Hiltunen 4d70ceceb5 Remove LOPT_IT_DOUBLING and delete unused functionality.
Code checked for both langopt LOPT_IT_DOUBLING and attribe $double.
LOPT_IT_DOUBLING is redundant. $double already has a test in
dictionary.test

Code had a check for tr->langopts.param[LOPT_IT_DOUBLING] & 2 but that bit value is
not used in any language. That logic was removed.
2022-10-10 19:57:23 +03:00
Juho Hiltunen 3b2557cfdd et: fi: move configuration from code to language file 2022-10-10 19:49:42 +03:00
Juho Hiltunen 644f02c26a fixup case V_TUNES
previous changing of variable names caused an error in the program logic.
2022-10-10 19:45:01 +03:00
Juho Hiltunen 78c9b55c5f fixup language options status and maintainer. 2022-10-10 19:34:21 +03:00
Juho Hiltunen b4c223a256 fixup: move some language option keywords to the correct MNEM_TAB.
Caused when creating LoadLanguageOptions().
2022-10-09 22:03:18 +03:00
Juho Hiltunen 7115e46879 fi: uncomment number configuration.
Accidentally commented out in ac82698f.
2022-10-09 20:41:22 +03:00
Juho Hiltunen 74fc17bbf1 Create langopts.c for language option configuration (#1419)
Loading Voice and Language options is complicated. They are not
separated in the code.

This PR creates langopts.c for holding language option related
configuration. In the future:
1. all new language options should go to langopts.c
2. voice options should have a similar file
3. LoadVoice should know if it's loading a voice or a language.
2022-10-09 16:48:18 +03:00
Juho Hiltunen a19e4b8df2 resize and initialize a two-dimensional array to pass sanitizer 2022-10-09 16:38:53 +03:00
Juho Hiltunen eae4595dc9 cleanup: move shared enums and MNEM_TABs to header file 2022-10-09 16:38:53 +03:00
Juho Hiltunen 78c6873427 cleanup: call CheckTranslator at start of LoadLangugeOptions 2022-10-09 16:38:53 +03:00
Juho Hiltunen 3182dee147 code cleanup: move CheckTranslator() to langopts.c 2022-10-09 16:38:53 +03:00
Juho Hiltunen 159ab0ee76 cleanup: move langopts.params handling to LoadLanguageOptions()
These have no tests and should be refactore to be similar to other
langopts.
2022-10-09 16:38:53 +03:00
Juho Hiltunen b820b68182 cleanup: move words to LoadLanguageOptions() 2022-10-09 16:38:53 +03:00
Juho Hiltunen ac82698f99 cleanup: move numbers to LoadLanguageOptions()
Note: This feature has no tests.
2022-10-09 16:38:53 +03:00
Juho Hiltunen bdf18eafb1 cleanup: moved dictmin to LoadLanguageOptions()
Note: This feature has no tests. It doesn't look very useful and I think
could be removed.
2022-10-09 16:38:53 +03:00
Juho Hiltunen e1d936dc52 cleanup: moved dictrules to LoadLanguageOptions() 2022-10-09 16:38:53 +03:00
Juho Hiltunen f28841162f moved tunes to LoadLanguageOptions() 2022-10-09 16:38:53 +03:00
Juho Hiltunen c92180f918 cleanup: move n_tunes and tunes to where they are used 2022-10-09 16:38:53 +03:00
Juho Hiltunen ec897eff32 fixup, add langopts.h to version control 2022-10-09 16:38:53 +03:00
Juho Hiltunen e38142acd1 cleanup: moved intonation to LoadLanguageOptions() 2022-10-09 16:38:53 +03:00
Juho Hiltunen 8e3399bb98 cleanup: move stressRule to LoadLanguageOptions() 2022-10-09 16:38:53 +03:00
Juho Hiltunen 9caada3b31 cleanup: move stressOpt to LoadLanguageOptions() 2022-10-09 16:38:53 +03:00