Difference between revisions of "Turkish and Azerbaijani"

From Apertium
Jump to navigation Jump to search
 
(15 intermediate revisions by 5 users not shown)
Line 4: Line 4:


<pre>
<pre>
https://apertium.svn.sourceforge.net/svnroot/apertium/incubator/apertium-tr-az
https://github.com/apertium/apertium-tur-aze
https://apertium.svn.sourceforge.net/svnroot/apertium/branches/azmorph
https://github.com/apertium/apertium-aze
https://github.com/coltekin/TRmorph
https://github.com/coltekin/TRmorph
</pre>
</pre>

* http://apertium.svn.sourceforge.net/viewvc/apertium/incubator/apertium-tr-az/
* http://apertium.svn.sourceforge.net/viewvc/apertium/branches/azmorph/


==Todo==
==Todo==
Line 16: Line 13:
===Trmorph===
===Trmorph===


# Fix punctuation -- [https://sourceforge.net/tracker/?func=detail&aid=3271696&group_id=224521&atid=1061990 3271696]
# <s>Proper names in caps</s>
# Subcategorise proper names as far as possible
# Spaces in words in trmorph
# subcategorise converb suffixes (See [https://sourceforge.net/mailarchive/forum.php?thread_name=20110422162330.GM2542%40rug.nl&forum_name=apertium-turkic here])
# subcategorise verbal noun suffixes (see [https://sourceforge.net/mailarchive/forum.php?thread_name=20110422162330.GM2542%40rug.nl&forum_name=apertium-turkic here])
# Check words in corpus which are analysed, but then have an apostrophe and unknown word after (e.g. case ending) ... perhaps they need to be added as proper nouns. e.g. Okyanusu'nun
# Check words in corpus which are analysed, but then have an apostrophe and unknown word after (e.g. case ending) ... perhaps they need to be added as proper nouns. e.g. Okyanusu'nun
# find a way of exporting trmorph for apertium into two files, one with lexemes (that we specify -- e.g. the ones in the bilingual dictionary), and the other with the morphophonology.


===Azmorph===
===Azmorph===
Line 31: Line 21:
#Disambiguation sucks big time: I don't know why it doesn't take içerler as <v><t_aor><3pp> but as a noun. Need to fix ASAP
#Disambiguation sucks big time: I don't know why it doesn't take içerler as <v><t_aor><3pp> but as a noun. Need to fix ASAP
# Fix punctuation
# Fix punctuation
# Proper names in caps -- works in trmorph
# Subcategorise proper names as far as possible
# Subcategorise proper names as far as possible
# Interrogative mi
# Interrogative mi
# Add da/de cnjcoo as d<A>, since it follows vowel harmony
# Add da/de cnjcoo as d<A>, since it follows vowel harmony
# subcategorise converb suffixes (See [https://sourceforge.net/mailarchive/forum.php?thread_name=20110422162330.GM2542%40rug.nl&forum_name=apertium-turkic here])
# subcategorise verbal noun suffixes (see [https://sourceforge.net/mailarchive/forum.php?thread_name=20110422162330.GM2542%40rug.nl&forum_name=apertium-turkic here])
# remove apostrophe from case endings after propernames etc.
# remove apostrophe from case endings after propernames etc.
# Azeri accusative, unlike turkish, takes n as buffer


===Other===
===Other===


* Finish adding closed categories to bilingual dictionary
* Fix punctuation
* <s>Numerals in the bidix from corpus</s>
* add proper support for compound numerals in the bidix
* add proper support for compound numerals in the bidix
* Finish adding nouns from the CSV list
* try some sentences/paragraphs and fix disambiguation/transfer errors
* write a script which generates stem lists for azmorph from the bilingual dictionary -- only stems which can be added automatically (some of them have e.g. <k> final or something)
* continue adding words from the missing list
* write up test cases on the wiki
* write up test cases on the wiki
* find a girlfriend for the boss
* find a girlfriend for the boss
* the corpus is [http://elx.dlsi.ua.es/~fran/SETIMES/source/tr-en/setimes.tr here], you'll need to clean it.
* the corpus is [http://elx.dlsi.ua.es/~fran/SETIMES/source/tr-en/setimes.tr here], you'll need to clean it.
* make a script to trim the trmorph lexicon to the bidix... we don't want to analyse anything more than we can translate !
* <s>make a script to trim the trmorph lexicon to the bidix... we don't want to analyse anything more than we can translate ! </s>
** '''Improve the trimming script(s)'''
* FIX: yemek <v> does weird thing with the vowel
* FIX: yemek <v> does weird thing with the vowel
* '''write disambiguation rules'''
* '''Subcategorise proper names as far as possible''': One way of doing this would be with Wikipedia -- at least for toponyms.


===Overgeneration===
===Overgeneration===



* <code>^ye<v><t_imp><2p>$</code> → yesenize/yiyin/yiyiniz
* <code>^şükret<v><cv>$</code> → şükredincə/şükredip/şükrediyor/şükredəcək/şükredəli/...
* <code>^<q><3s><dir>$</code> → midir/mudur/müdür/mıdır
* <code>^<q><3s><dir>$</code> → midir/mudur/müdür/mıdır
* <code>^Ye<v><pass><t_cont><3s>$</code> → Yeniliyor/Yeniyor
* <code>^Ye<v><pass><t_cont><3s>$</code> → Yeniliyor/Yeniyor
Line 71: Line 52:
* [[/Pending tests|Pending tests]]
* [[/Pending tests|Pending tests]]
* [[/Regression tests|Regression tests]]
* [[/Regression tests|Regression tests]]

==External links==

* [http://www.tdk.org.tr/lehceler/Default.aspx Pan-Turkic dictionary]


==Further reading==
==Further reading==

Latest revision as of 18:27, 8 March 2018

Source[edit]

https://github.com/apertium/apertium-tur-aze
https://github.com/apertium/apertium-aze
https://github.com/coltekin/TRmorph

Todo[edit]

Trmorph[edit]

  1. Check words in corpus which are analysed, but then have an apostrophe and unknown word after (e.g. case ending) ... perhaps they need to be added as proper nouns. e.g. Okyanusu'nun

Azmorph[edit]

  1. Add consonant harmony |--| Azerbaijani, beside having double vowel harmony like turkish, has consonant harmony. Q/K (as well as their devoiced version ğ/y) change according to the precedent vowel.
  2. Add final t voicing in d ex. getmək geDirəm
  3. Remove 040-exception_ben.fst |--| Unlike turkish, azerbaijani doesn't have irregular dative for men and sen (personal pronouns).
  4. Disambiguation sucks big time: I don't know why it doesn't take içerler as <v><t_aor><3pp> but as a noun. Need to fix ASAP
  5. Fix punctuation
  6. Subcategorise proper names as far as possible
  7. Interrogative mi
  8. Add da/de cnjcoo as d<A>, since it follows vowel harmony
  9. remove apostrophe from case endings after propernames etc.

Other[edit]

  • add proper support for compound numerals in the bidix
  • write up test cases on the wiki
  • find a girlfriend for the boss
  • the corpus is here, you'll need to clean it.
  • make a script to trim the trmorph lexicon to the bidix... we don't want to analyse anything more than we can translate !
    • Improve the trimming script(s)
  • FIX: yemek <v> does weird thing with the vowel
  • write disambiguation rules
  • Subcategorise proper names as far as possible: One way of doing this would be with Wikipedia -- at least for toponyms.

Overgeneration[edit]

  • ^<3s><dir>$ → midir/mudur/müdür/mıdır
  • ^Ye<v><pass><t_cont><3s>$ → Yeniliyor/Yeniyor
  • ^ye<v><t_imp><2s>$ → ye/yesənə
  • ^ölç<v><pass><abil><neg><t_aor><3s>$ → ölçüləbilmir/ölçüləmir
  • ^bir<num><D_sAr><adv>$ → bir'ər/birər

See also[edit]

External links[edit]

Further reading[edit]

  • Vügar Sultanzade (????) Turkish - Azerbaijani Dictionary of Interlingual Homonyms and Paronyms