commit c35b947808eaa5cec32f0a81a2b570789685002a Author: koguzhan Date: Tue Jul 16 11:40:01 2019 +0200 {g} and dative suffix diff --git a/apertium-uzb.uzb.lexc b/apertium-uzb.uzb.lexc index 60b581f..7134ef0 100644 --- a/apertium-uzb.uzb.lexc +++ b/apertium-uzb.uzb.lexc @@ -185,7 +185,7 @@ Multichar_Symbols %{N%} ! Archiphoneme 'n': realised as н, д, т %{M%} ! Archiphoneme 'm': realised as м, б, п %{G%} ! Archiphoneme 'g': realised as к, қ, г, ғ -%{G%} ! Archiphoneme 'k': realised as к, қ >>>FIXME ???<<< +!%{G%} ! Archiphoneme 'k': realised as к, қ >>>FIXME ???<<< %{D%} ! Archiphoneme 'd': realised as д, т %{A%} ! Archiphoneme 'a': realsied as е, а %{I%} ! Archiphoneme 'i': realised as і, ы @@ -556,7 +556,7 @@ LEXICON NON-FINITE %:%>ayotgan # ; %:%>ar # ; -%:%>moqchi # ; !what is the negative form? +%:%>moqchi # ; !what is the negative form? !the negative form is constructed with emas, so might be better to handle lexically, like bormoqchi emasman = gidecek değilim %%:%>mas # ; !%:%>ing SUBST ; @@ -1011,7 +1011,7 @@ LEXICON CASE %: # ; %:%>ning # ; -%:%>ga # ; +%:%>%{G%}a # ; %:%>ni # ; %:%>da # ; %:%>dan # ; @@ -1020,7 +1020,7 @@ LEXICON CASE LEXICON CASE-NONOM %:%>ning # ; -%:%>ga # ; +%:%>%{G%}a # ; %:%>ni # ; %:%>da # ; %:%>dan # ; diff --git a/apertium-uzb.uzb.twol b/apertium-uzb.uzb.twol index 4290e95..002dd03 100644 --- a/apertium-uzb.uzb.twol +++ b/apertium-uzb.uzb.twol @@ -42,7 +42,10 @@ Rules "Voicing assimilation of front G" -%{G%}:k <=> [ :p | :t | :k | :g ]/%>: _ ; ! "from "Учебник узбекского языка для стран СНГ" there only -k and -g endings transfer to k" +%{G%}:k <=> :k %>: _ ; ! "from "Учебник узбекского языка для стран СНГ" there only -k and -g endings transfer to k" ! should be only for k/q final words for now - will update if I find contrary examples. + +"Voicing assimilation of front G" +%{G%}:q <=> :q %>: _ ; ! "from "Учебник узбекского языка для стран СНГ" there only -k and -g endings transfer to k" ! should be only for k/qfinal words for now - will update if I find contrary examples. "{u} deletion" %{u%}:0 <=> _ Cons: %>: (:0) :Vow ;