Skip to content

Commit

Permalink
Ukrainian: "к" is a preposition
Browse files Browse the repository at this point in the history
  • Loading branch information
Olga-Yakovleva committed Aug 6, 2018
1 parent 2439e42 commit dc36179
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion SConstruct
Expand Up @@ -26,7 +26,7 @@ if sys.platform=="win32":
import _winreg as winreg

def get_version(is_release):
next_version="0.7.1"
next_version="0.7.2"
if is_release:
return next_version
else:
Expand Down
Binary file modified data/languages/Ukrainian/gpos.fst
Binary file not shown.
2 changes: 1 addition & 1 deletion data/languages/Ukrainian/language.info
@@ -1,3 +1,3 @@
name=Ukrainian
format=1
revision=3
revision=4
Binary file modified data/languages/Ukrainian/tok.fst
Binary file not shown.
2 changes: 1 addition & 1 deletion src/android/RHVoice-core/build.gradle
Expand Up @@ -19,7 +19,7 @@ minSdkVersion myMinSdkVersion
targetSdkVersion myTargetSdkVersion
applicationId "com.github.olga_yakovleva.rhvoice.android"
versionCode 49
versionName "0.7.1"
versionName "0.7.2"
ndk{
abiFilters 'armeabi-v7a', 'x86', 'arm64-v8a', 'x86_64'
}
Expand Down
Expand Up @@ -65,7 +65,7 @@ public final class Data
lang=new LanguagePack("Tatar", "tat", "RUS", 1, 10, null, null);
lang.addVoice(new VoicePack("Talgat", lang, 4, 0, "http://rsbsrt.ru/Talgat/RHVoice-voice-Tatar-Talgat-v4.0.zip", null));
addLanguage(lang);
lang=new LanguagePack("Ukrainian", "ukr", "UKR", 1, 3, null, null);
lang=new LanguagePack("Ukrainian", "ukr", "UKR", 1, 4, null, null);
lang.addVoice(new VoicePack("Anatol", lang, 4, 1, null, null));
lang.addVoice(new VoicePack("Natalia", lang, 4, 0, null, null));
addLanguage(lang);
Expand Down
2 changes: 1 addition & 1 deletion src/android/RHVoice-core/src/main/jni/Android.mk
@@ -1,7 +1,7 @@
LOCAL_PATH := $(call my-dir)

MY_PACKAGE := RHVoice
MY_VERSION := 0.7.1
MY_VERSION := 0.7.2
MY_DEFINES := -DPACKAGE=\"$(MY_PACKAGE)\" -DVERSION=\"$(MY_VERSION)\" -DDATA_PATH=\"\" -DCONFIG_PATH=\"\" -DENABLE_MAGE -DHTS_EMBEDDED -DHTS106_EMBEDDED -DMAX_VOLUME=MAX_MAX_VOLUME -DMIN_SONIC_RATE=NO_MIN_SONIC_RATE
MY_SRC_DIR := ../../../../..
MY_INCLUDE_DIR := $(MY_SRC_DIR)/include
Expand Down
6 changes: 4 additions & 2 deletions src/scripts/Ukrainian/gpos.foma
@@ -1,4 +1,4 @@
# Copyright (C) 2016 Olga Yakovleva <yakovleva.o.v@gmail.com>
# Copyright (C) 2016, 2018 Olga Yakovleva <yakovleva.o.v@gmail.com>

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
Expand Down Expand Up @@ -58,7 +58,9 @@ define Preposition
у |
через |
щодо |
із ;
із |
к ;


define Conjunction
а |
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/Ukrainian/tok.foma
@@ -1,4 +1,4 @@
# Copyright (C) 2016 Olga Yakovleva <yakovleva.o.v@gmail.com>
# Copyright (C) 2016, 2018 Olga Yakovleva <yakovleva.o.v@gmail.com>

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
Expand Down Expand Up @@ -37,7 +37,7 @@ define Digit %0|NZDigit;
define Number %0 | [NZDigit Digit*];

define ConsonantSequence
Consonant+ - [в|В|з|З|й|Й|б|Б|ж|Ж];
Consonant+ - [в|В|з|З|й|Й|б|Б|ж|Ж|к|К];

define LetterSequence
ConsonantSequence | [ь|Ь|ъ|Ъ]+ ;
Expand Down

0 comments on commit dc36179

Please sign in to comment.