Difference between revisions of "Kazakh and Tatar"

From Apertium
Jump to navigation Jump to search
Line 1: Line 1:
This is a language pair translating between [[Kazakh]] and [[Tatar]].
This is a language pair translating between [[Kazakh]] and [[Tatar]].
== General TODO ==
See [[/Work_plan]].
# Declination of Tatar nouns ending with -и.
# <s>Set up <code>bidix-with-context.sh</code> script (see <code>apertium-kaz-tat/dev/bidix</code>; seems to be very useful, requires another script from spectie)</s>.
# <s>Add some of the short wikipedia-article-like texts I have for evaluation into <code>texts</code> (should be ~200 words).</s>
# Implement cont. class for compound/multiword nouns which already have possessive ending (<px3sp>), e.g. ''Қытай Халық Республикасы''.
## This continuation class should link only to CASE (but consider that some of them can have plural form: ''ишегаллары'').
# Add "ярты", "ярым" and "чирек" as numerals, but don't link them to common numerals cont. class.
# (Lexical selection rule): ''сондай-ақ'' > ''шулай-ук''
# <s>Fix roman numerals:
## add them to tat.lexc too;
## change <code>LEXICON NUM-ROMAN</code> to something like this: <code>%<num%>%<ord%>: # ; </code>.</s>
# Add transfer rule(s) to handle instrumental case of all parts-of-speech which are subject to substantivation, not only of nouns (this is one of the things which make testvoc results look bad)
# A separate cont.class for verbs which have causative forms ending with -дыр/-дер
# A "location-cases" cont. classes for some of the postpositions and location adverbs (e.g. "бире")
# '<code>Natinfl</code> cont. class in tat.lexc
# Fix "дыр<mod_ind>" thing (it doesn't pass bidix right now)
# '''Pronouns'''
## check cont. classes (note: if it looks like an overgeneration, and me is not sure about it, overgenerate in both lexc's)
## translate pronouns from kaz.lexc, add them to bidix and add equivalents into tat.lexc
## ^нигез/ни<prn><itg><px2pl><nom>
# '''Determiners'''
## "unify" cont. classes and tags
## add stems
# '''Adjectives'''
## personal clitics after adjectives are not implemented yet
# '''Translating between classes'''
# '''General stuff'''
## Copula suffixes: have for kazakh -ø = p3.sp, and for tatar -ø = p3.sp and -lAr = p3.pl. When translating kaz->tat there is no problem, when translating tat->kaz, pl->sp.
=== Twol related stuff ===
( to be sorted later)
==== Kazakh ====
# <s>Current: <code>^миллион<num><subst><dat>$ --> миллионге</code> Should be: <code>^миллион<num><subst><dat>$ --> миллионға</code></s>
# <s>Current: <code>^сөйле<v><tv><coop><ger_past><loc>$ --> сөйлесгенде</code> Should be: <code>^сөйле<v><tv><coop><ger_past><loc>$ --> сөйлескенде</code></s>
# <s>Kazakh: <code>^ойна<v><tv><ifi><p1><pl>$ --> ойнадык</code> Should be: ''ойнадыҚ''</s>
# *жатқандығын
# безнекенеме (accusative case before clitics); безнекенгәме
# <s>*журналистерді - *журналистеріне - *журналистерді
#* something like <tt>т:0 <=> :с/:0 _ %{L%}:/:0</tt></s> (<tt>r40597</tt>)
# <s>(kaz) *Назарбаевтың</s> (<tt>r40594</tt>)
# АКШ-*тың НАТО-*ның
:: This is a problem with lexc, not twol —[[User:Firespeaker|Firespeaker]] 06:15, 20 August 2012 (UTC)
# <s>(kaz) *организмдер / организм<n><pl><nom> = организмдар</s> (<tt>r40597</tt>)
# (kaz) процесс, процесі/процессі, процесінің/процессінің
# <s>(kaz) автомобиль<n><attr>, *автомобильдер // автомобиль<n><pl><nom> = автомобильлер
:: As far as I can tell, автомобильдер is the most common form. The form автомобилдер also seems to be used, but doesn't look super formal, and автомобильлер seems to only be attested in "Kazakh" because Nissan seems to like to write in Noğay for its Kazakh-speaking audience. —[[User:Firespeaker|Firespeaker]] 06:10, 20 August 2012 (UTC)
::: The thing is that the form we are generating is автомобильлер. - [[User:Francis Tyers|Francis Tyers]] 07:08, 20 August 2012 (UTC)</s> (<tt>r40704</tt>)
# <s>^организмге/*организмге$ *организмнің *организмнен</s> (<tt>r40705</tt>)
# <s>*тарихынан *тарихы ...</s> (≤<tt>r40705</tt>)
==== Tatar ====
# (tat) generates ''укыу''
# (tat) generates ''айендә''
# Deletion of soft sign "ь" before vowels in Tatar (see comments at the end of the <code>apertium-tat/apertium-tat.tat.twol</code> file)
# (tat) ''*аенда'', generating ''музейе'' instead of correct ''музее''
# <code>apertium-tat$ echo "^йөр<v><iv><gpr_impf>$" | hfst-proc -g tat.autogen.hfst</code> >> <code>йөрә торган</code>
=== International vocabulary ===
*терроризмге *массивіндегі *террорлық *Факті
*кодекстің *терроризмге *Полицейлер *журналистерді «*АНТИТЕРРОРЛЫҚ »
*полицейлер *антитеррорлық *режим *полицейлер *журналистерді
*автоматты *автобустар *полицейлер *журналистеріне *сайттың
*технологиялар *компьютер *мобильді *техникаларға *интернет *объектілерін
*радиациялық *сантехник *проблемасы *веб-*сайттар *позитивті *алгебра
*иммиграциялық *дипломатиялық *стратегиялық
===Proper nouns===
=== Discuss first ===
# There is only one formal form (<frm>) in Tatar, which can be both sg and plural. But in Kazakh there are two forms. Should I pretend as if in Tatar it *were* the same and duplicate the same form with a different tag or should I handle it in transfer?
# Consider ''турындагы'' - should it still be tagged as postposition?
# How to handle verbs with inner inflection (sometimes a Kazakh verb is translated with a multiword and vice versa. E.g. ''әуреле > башын әйләндер'')
Part-of-speech related TODO's and DONE's can be found here:
* [[/Postadvebs|/Postadverbs]]
* [[/Postpositions]]
To run tests, use <code>aq-regtest</code> utility from [[Apertium-quality]] tools. E.g. <pre>aq-regtest -d . kaz-tat http://wiki.apertium.org/wiki/Special:Export/Kazakh_and_Tatar/Postadvebs</pre>
== Done ==
== Done ==

Revision as of 19:37, 21 January 2013

This is a language pair translating between Kazakh and Tatar.


But keep an eye on this
  • Numerals
    • kaz <num><subst>(<px3>) in fractions[1] = tat <num><subst>(<px3>)
    • kaz <num><coll><advl> = tat <num><coll>
    • kaz <num><coll><subst> = tat <num><subst>


  1. Currently whether it is in fractions or not is not taken into account

See also