|
|
|
|
@ -73,21 +73,21 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "genitive": # ilik
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "тің";
|
|
|
|
|
$word .= "тің";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "тың";
|
|
|
|
|
$word .= "тың";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels ) || in_array( $wordEnding, $Nasals ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "нің";
|
|
|
|
|
$word .= "нің";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "ның";
|
|
|
|
|
$word .= "ның";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Sonants ) || in_array( $wordEnding, $Sibilants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "дің";
|
|
|
|
|
$word .= "дің";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "дың";
|
|
|
|
|
$word .= "дың";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -95,15 +95,15 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "dative": # barıs
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ке";
|
|
|
|
|
$word .= "ке";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "қа";
|
|
|
|
|
$word .= "қа";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels ) || in_array( $wordEnding, $Sonorants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ге";
|
|
|
|
|
$word .= "ге";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "ға";
|
|
|
|
|
$word .= "ға";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -111,21 +111,21 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "possessive dative": # täweldık + barıs
|
|
|
|
|
if ( in_array( $wordEnding, $firstPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "е";
|
|
|
|
|
$word .= "е";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "а";
|
|
|
|
|
$word .= "а";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $secondPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ге";
|
|
|
|
|
$word .= "ге";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "ға";
|
|
|
|
|
$word .= "ға";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $thirdPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "не";
|
|
|
|
|
$word .= "не";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "на";
|
|
|
|
|
$word .= "на";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -133,21 +133,21 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "accusative": # tabıs
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ті";
|
|
|
|
|
$word .= "ті";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "ты";
|
|
|
|
|
$word .= "ты";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ні";
|
|
|
|
|
$word .= "ні";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "ны";
|
|
|
|
|
$word .= "ны";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Sonorants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ді";
|
|
|
|
|
$word .= "ді";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "ды";
|
|
|
|
|
$word .= "ды";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -155,27 +155,27 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "possessive accusative": # täweldık + tabıs
|
|
|
|
|
if ( in_array( $wordEnding, $firstPerson ) || in_array( $wordEnding, $secondPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ді";
|
|
|
|
|
$word .= "ді";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "ды";
|
|
|
|
|
$word .= "ды";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $thirdPerson ) ) {
|
|
|
|
|
$word = $word . "н";
|
|
|
|
|
$word .= "н";
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case "dc4":
|
|
|
|
|
case "locative": # jatıs
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "те";
|
|
|
|
|
$word .= "те";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "та";
|
|
|
|
|
$word .= "та";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels ) || in_array( $wordEnding, $Sonorants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "де";
|
|
|
|
|
$word .= "де";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "да";
|
|
|
|
|
$word .= "да";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -183,15 +183,15 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "possessive locative": # täweldık + jatıs
|
|
|
|
|
if ( in_array( $wordEnding, $firstPerson ) || in_array( $wordEnding, $secondPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "де";
|
|
|
|
|
$word .= "де";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "да";
|
|
|
|
|
$word .= "да";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $thirdPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "нде";
|
|
|
|
|
$word .= "нде";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "нда";
|
|
|
|
|
$word .= "нда";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -199,24 +199,24 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "ablative": # şığıs
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "тен";
|
|
|
|
|
$word .= "тен";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "тан";
|
|
|
|
|
$word .= "тан";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels )
|
|
|
|
|
|| in_array( $wordEnding, $Sonants )
|
|
|
|
|
|| in_array( $wordEnding, $Sibilants )
|
|
|
|
|
) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ден";
|
|
|
|
|
$word .= "ден";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "дан";
|
|
|
|
|
$word .= "дан";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Nasals ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "нен";
|
|
|
|
|
$word .= "нен";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "нан";
|
|
|
|
|
$word .= "нан";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -224,42 +224,42 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "possessive ablative": # täweldık + şığıs
|
|
|
|
|
if ( in_array( $wordEnding, $firstPerson ) || in_array( $wordEnding, $thirdPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "нен";
|
|
|
|
|
$word .= "нен";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "нан";
|
|
|
|
|
$word .= "нан";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $secondPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ден";
|
|
|
|
|
$word .= "ден";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "дан";
|
|
|
|
|
$word .= "дан";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case "dc6":
|
|
|
|
|
case "comitative": # kömektes
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
$word = $word . "пен";
|
|
|
|
|
$word .= "пен";
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels )
|
|
|
|
|
|| in_array( $wordEnding, $Nasals )
|
|
|
|
|
|| in_array( $wordEnding, $Sonants )
|
|
|
|
|
) {
|
|
|
|
|
$word = $word . "мен";
|
|
|
|
|
$word .= "мен";
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Sibilants ) ) {
|
|
|
|
|
$word = $word . "бен";
|
|
|
|
|
$word .= "бен";
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case "dc61":
|
|
|
|
|
case "possessive comitative": # täweldık + kömektes
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
$word = $word . "пенен";
|
|
|
|
|
$word .= "пенен";
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels )
|
|
|
|
|
|| in_array( $wordEnding, $Nasals )
|
|
|
|
|
|| in_array( $wordEnding, $Sonants )
|
|
|
|
|
) {
|
|
|
|
|
$word = $word . "менен";
|
|
|
|
|
$word .= "менен";
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Sibilants ) ) {
|
|
|
|
|
$word = $word . "бенен";
|
|
|
|
|
$word .= "бенен";
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
default: # dc0 #nominative #ataw
|
|
|
|
|
@ -307,21 +307,21 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "genitive": # ilik
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "tiñ";
|
|
|
|
|
$word .= "tiñ";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "tıñ";
|
|
|
|
|
$word .= "tıñ";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels ) || in_array( $wordEnding, $Nasals ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "niñ";
|
|
|
|
|
$word .= "niñ";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "nıñ";
|
|
|
|
|
$word .= "nıñ";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Sonants ) || in_array( $wordEnding, $Sibilants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "diñ";
|
|
|
|
|
$word .= "diñ";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "dıñ";
|
|
|
|
|
$word .= "dıñ";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -329,15 +329,15 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "dative": # barıs
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ke";
|
|
|
|
|
$word .= "ke";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "qa";
|
|
|
|
|
$word .= "qa";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels ) || in_array( $wordEnding, $Sonorants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ge";
|
|
|
|
|
$word .= "ge";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "ğa";
|
|
|
|
|
$word .= "ğa";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -345,21 +345,21 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "possessive dative": # täweldık + barıs
|
|
|
|
|
if ( in_array( $wordEnding, $firstPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "e";
|
|
|
|
|
$word .= "e";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "a";
|
|
|
|
|
$word .= "a";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $secondPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ge";
|
|
|
|
|
$word .= "ge";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "ğa";
|
|
|
|
|
$word .= "ğa";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $thirdPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ne";
|
|
|
|
|
$word .= "ne";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "na";
|
|
|
|
|
$word .= "na";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -367,21 +367,21 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "accusative": # tabıs
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ti";
|
|
|
|
|
$word .= "ti";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "tı";
|
|
|
|
|
$word .= "tı";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ni";
|
|
|
|
|
$word .= "ni";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "nı";
|
|
|
|
|
$word .= "nı";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Sonorants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "di";
|
|
|
|
|
$word .= "di";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "dı";
|
|
|
|
|
$word .= "dı";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -389,27 +389,27 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "possessive accusative": # täweldık + tabıs
|
|
|
|
|
if ( in_array( $wordEnding, $firstPerson ) || in_array( $wordEnding, $secondPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "di";
|
|
|
|
|
$word .= "di";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "dı";
|
|
|
|
|
$word .= "dı";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $thirdPerson ) ) {
|
|
|
|
|
$word = $word . "n";
|
|
|
|
|
$word .= "n";
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case "dc4":
|
|
|
|
|
case "locative": # jatıs
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "te";
|
|
|
|
|
$word .= "te";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "ta";
|
|
|
|
|
$word .= "ta";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels ) || in_array( $wordEnding, $Sonorants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "de";
|
|
|
|
|
$word .= "de";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "da";
|
|
|
|
|
$word .= "da";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -417,15 +417,15 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "possessive locative": # täweldık + jatıs
|
|
|
|
|
if ( in_array( $wordEnding, $firstPerson ) || in_array( $wordEnding, $secondPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "de";
|
|
|
|
|
$word .= "de";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "da";
|
|
|
|
|
$word .= "da";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $thirdPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "nde";
|
|
|
|
|
$word .= "nde";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "nda";
|
|
|
|
|
$word .= "nda";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -433,24 +433,24 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "ablative": # şığıs
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ten";
|
|
|
|
|
$word .= "ten";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "tan";
|
|
|
|
|
$word .= "tan";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels )
|
|
|
|
|
|| in_array( $wordEnding, $Sonants )
|
|
|
|
|
|| in_array( $wordEnding, $Sibilants )
|
|
|
|
|
) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "den";
|
|
|
|
|
$word .= "den";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "dan";
|
|
|
|
|
$word .= "dan";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Nasals ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "nen";
|
|
|
|
|
$word .= "nen";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "nan";
|
|
|
|
|
$word .= "nan";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -458,42 +458,42 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "possessive ablative": # täweldık + şığıs
|
|
|
|
|
if ( in_array( $wordEnding, $firstPerson ) || in_array( $wordEnding, $thirdPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "nen";
|
|
|
|
|
$word .= "nen";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "nan";
|
|
|
|
|
$word .= "nan";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $secondPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "den";
|
|
|
|
|
$word .= "den";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "dan";
|
|
|
|
|
$word .= "dan";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case "dc6":
|
|
|
|
|
case "comitative": # kömektes
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
$word = $word . "pen";
|
|
|
|
|
$word .= "pen";
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels )
|
|
|
|
|
|| in_array( $wordEnding, $Nasals )
|
|
|
|
|
|| in_array( $wordEnding, $Sonants )
|
|
|
|
|
) {
|
|
|
|
|
$word = $word . "men";
|
|
|
|
|
$word .= "men";
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Sibilants ) ) {
|
|
|
|
|
$word = $word . "ben";
|
|
|
|
|
$word .= "ben";
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case "dc61":
|
|
|
|
|
case "possessive comitative": # täweldık + kömektes
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
$word = $word . "penen";
|
|
|
|
|
$word .= "penen";
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels )
|
|
|
|
|
|| in_array( $wordEnding, $Nasals )
|
|
|
|
|
|| in_array( $wordEnding, $Sonants )
|
|
|
|
|
) {
|
|
|
|
|
$word = $word . "menen";
|
|
|
|
|
$word .= "menen";
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Sibilants ) ) {
|
|
|
|
|
$word = $word . "benen";
|
|
|
|
|
$word .= "benen";
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
default: # dc0 #nominative #ataw
|
|
|
|
|
@ -541,21 +541,21 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "genitive": # ilik
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "تٸڭ";
|
|
|
|
|
$word .= "تٸڭ";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "تىڭ";
|
|
|
|
|
$word .= "تىڭ";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels ) || in_array( $wordEnding, $Nasals ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "نٸڭ";
|
|
|
|
|
$word .= "نٸڭ";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "نىڭ";
|
|
|
|
|
$word .= "نىڭ";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Sonants ) || in_array( $wordEnding, $Sibilants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "دٸڭ";
|
|
|
|
|
$word .= "دٸڭ";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "دىڭ";
|
|
|
|
|
$word .= "دىڭ";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -563,15 +563,15 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "dative": # barıs
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "كە";
|
|
|
|
|
$word .= "كە";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "قا";
|
|
|
|
|
$word .= "قا";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels ) || in_array( $wordEnding, $Sonorants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "گە";
|
|
|
|
|
$word .= "گە";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "عا";
|
|
|
|
|
$word .= "عا";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -579,21 +579,21 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "possessive dative": # täweldık + barıs
|
|
|
|
|
if ( in_array( $wordEnding, $firstPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ە";
|
|
|
|
|
$word .= "ە";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "ا";
|
|
|
|
|
$word .= "ا";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $secondPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "گە";
|
|
|
|
|
$word .= "گە";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "عا";
|
|
|
|
|
$word .= "عا";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $thirdPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "نە";
|
|
|
|
|
$word .= "نە";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "نا";
|
|
|
|
|
$word .= "نا";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -601,21 +601,21 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "accusative": # tabıs
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "تٸ";
|
|
|
|
|
$word .= "تٸ";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "تى";
|
|
|
|
|
$word .= "تى";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "نٸ";
|
|
|
|
|
$word .= "نٸ";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "نى";
|
|
|
|
|
$word .= "نى";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Sonorants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "دٸ";
|
|
|
|
|
$word .= "دٸ";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "دى";
|
|
|
|
|
$word .= "دى";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -623,27 +623,27 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "possessive accusative": # täweldık + tabıs
|
|
|
|
|
if ( in_array( $wordEnding, $firstPerson ) || in_array( $wordEnding, $secondPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "دٸ";
|
|
|
|
|
$word .= "دٸ";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "دى";
|
|
|
|
|
$word .= "دى";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $thirdPerson ) ) {
|
|
|
|
|
$word = $word . "ن";
|
|
|
|
|
$word .= "ن";
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case "dc4":
|
|
|
|
|
case "locative": # jatıs
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "تە";
|
|
|
|
|
$word .= "تە";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "تا";
|
|
|
|
|
$word .= "تا";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels ) || in_array( $wordEnding, $Sonorants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "دە";
|
|
|
|
|
$word .= "دە";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "دا";
|
|
|
|
|
$word .= "دا";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -651,15 +651,15 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "possessive locative": # täweldık + jatıs
|
|
|
|
|
if ( in_array( $wordEnding, $firstPerson ) || in_array( $wordEnding, $secondPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "دە";
|
|
|
|
|
$word .= "دە";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "دا";
|
|
|
|
|
$word .= "دا";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $thirdPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "ندە";
|
|
|
|
|
$word .= "ندە";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "ندا";
|
|
|
|
|
$word .= "ندا";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -667,24 +667,24 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "ablative": # şığıs
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "تەن";
|
|
|
|
|
$word .= "تەن";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "تان";
|
|
|
|
|
$word .= "تان";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels )
|
|
|
|
|
|| in_array( $wordEnding, $Sonants )
|
|
|
|
|
|| in_array( $wordEnding, $Sibilants )
|
|
|
|
|
) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "دەن";
|
|
|
|
|
$word .= "دەن";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "دان";
|
|
|
|
|
$word .= "دان";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Nasals ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "نەن";
|
|
|
|
|
$word .= "نەن";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "نان";
|
|
|
|
|
$word .= "نان";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
@ -692,42 +692,42 @@ class LanguageKk_cyrl extends Language {
|
|
|
|
|
case "possessive ablative": # täweldık + şığıs
|
|
|
|
|
if ( in_array( $wordEnding, $firstPerson ) || in_array( $wordEnding, $thirdPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "نەن";
|
|
|
|
|
$word .= "نەن";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "نان";
|
|
|
|
|
$word .= "نان";
|
|
|
|
|
}
|
|
|
|
|
} elseif ( in_array( $wordEnding, $secondPerson ) ) {
|
|
|
|
|
if ( in_array( $wordLastVowel, $frontVowels ) ) {
|
|
|
|
|
$word = $word . "دەن";
|
|
|
|
|
$word .= "دەن";
|
|
|
|
|
} elseif ( in_array( $wordLastVowel, $backVowels ) ) {
|
|
|
|
|
$word = $word . "دان";
|
|
|
|
|
$word .= "دان";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case "dc6":
|
|
|
|
|
case "comitative": # kömektes
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
$word = $word . "پەن";
|
|
|
|
|
$word .= "پەن";
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels )
|
|
|
|
|
|| in_array( $wordEnding, $Nasals )
|
|
|
|
|
|| in_array( $wordEnding, $Sonants )
|
|
|
|
|
) {
|
|
|
|
|
$word = $word . "مەن";
|
|
|
|
|
$word .= "مەن";
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Sibilants ) ) {
|
|
|
|
|
$word = $word . "بەن";
|
|
|
|
|
$word .= "بەن";
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case "dc61":
|
|
|
|
|
case "possessive comitative": # täweldık + kömektes
|
|
|
|
|
if ( in_array( $wordEnding, $Consonants ) ) {
|
|
|
|
|
$word = $word . "پەنەن";
|
|
|
|
|
$word .= "پەنەن";
|
|
|
|
|
} elseif ( in_array( $wordEnding, $allVowels )
|
|
|
|
|
|| in_array( $wordEnding, $Nasals )
|
|
|
|
|
|| in_array( $wordEnding, $Sonants )
|
|
|
|
|
) {
|
|
|
|
|
$word = $word . "مەنەن";
|
|
|
|
|
$word .= "مەنەن";
|
|
|
|
|
} elseif ( in_array( $wordEnding, $Sibilants ) ) {
|
|
|
|
|
$word = $word . "بەنەن";
|
|
|
|
|
$word .= "بەنەن";
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
default: # dc0 #nominative #ataw
|
|
|
|
|
|