Difference between revisions of "Talk:Módulo de procesamiento de expresiones separables"

From Apertium
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{TOCD}}
==Example for Afrikaans==
==Example for Afrikaans==


Three problems in Afrikaans (and other Germanic languages), which can we solve with this module? -- percentages indicative amount of win.
;Present tense (separable)

===Present tense (separable)===


* Sterrekundiges '''kondig''' [die ontdekking] '''aan'''.
* Sterrekundiges '''kondig''' [die ontdekking] '''aan'''.
* ^Sterrekundig<n><sg>$ ^kondig<vblex><inf>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$ ^aan<pr>$
* ^Sterrekundig{{fade|<n><pl>}}$ ^kondig{{fade|<vblex><inf>}}$ ^die{{fade|<det><def><sg>}}$ ^ontdekking{{fade|<n><sg>}}$ ^aan{{fade|<pr>}}$
* Sterrekundiges '''kondig aan''' [die ontdekking]
* Sterrekundiges '''kondig aan''' [die ontdekking]
<div style="background-color: beige;">
<div style="background-color: beige; font-size:90%">
* ^Sterrekundig<n><sg>$ ^aankondig<vblex><inf>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$
* ^Sterrekundige{{fade|<n><pl>}}$ ^kondig# aan{{fade|<vblex><inf>}}$ ^die{{fade|<det><def><sg>}}$ ^ontdekking{{fade|<n><sg>}}$ (90%)
* ^Sterrekundig<n><sg>$ ^kondig# aan<vblex><inf>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$
* ^Sterrekundige{{fade|<n><pl>}}$ ^aankondig{{fade|<vblex><inf>}}$ ^die{{fade|<det><def><sg>}}$ ^ontdekking{{fade|<n><sg>}}$ (100%)
* ^Sterrekundige<n><pl>$ ^hê<vblex><pres>$ ^aankondig<vblex><inf>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$
</div>
</div>
* Astronomers '''announce''' [the discovery].
* Astronomers '''announce''' [the discovery].


;Past tense (separable)
===Past tense (separable)===


* Sterrekundiges '''het''' [die ontdekking] '''aangekondig'''.
* Sterrekundiges '''het''' [die ontdekking] '''aangekondig'''.
* ^Sterrekundige<n><pl>$ ^hê<vblex><pres>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$ ^aan<pr><atp>+ge<pref><past>+kondig<vblex><inf>$
* ^Sterrekundige{{fade|<n><pl>}}$ ^hê{{fade|<vblex><pres>}}$ ^die{{fade|<det><def><sg>}}$ ^ontdekking{{fade|<n><sg>}}$ ^aan{{fade|<pr><atp>}}+ge{{fade|<pref><past>}}+kondig{{fade|<vblex><inf>}}$
* Sterrekundiges '''het aangekondig''' [die ontdekking].
* Sterrekundiges '''het aangekondig''' [die ontdekking].
<div style="background-color: beige;">
<div style="background-color: beige; font-size:90%">
* ^Sterrekundige<n><pl>$ ^hê<vblex><pres>$ ^aan<pr><atp>+ge<pref><past>+kondig<vblex><inf>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$
* ^Sterrekundige{{fade|<n><pl>}}$ ^hê{{fade|<vblex><pres>}}$ ^aan{{fade|<pr><atp>}}+ge{{fade|<pref><past>}}+kondig{{fade|<vblex><inf>}}$ ^die{{fade|<det><def><sg>}}$ ^ontdekking{{fade|<n><sg>}}$ (50%)
* ^Sterrekundige<n><pl>$ ^hê<vblex><pres>$ ^ge<pref><past>+kondig# aan<vblex><inf>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$
* ^Sterrekundige{{fade|<n><pl>}}$ ^hê{{fade|<vblex><pres>}}$ ^ge{{fade|<pref><past>}}+kondig# aan{{fade|<vblex><inf>}}$ ^die{{fade|<det><def><sg>}}$ ^ontdekking{{fade|<n><sg>}}$ (80%)
* ^Sterrekundige<n><pl>$ ^hê<vblex><pres>$ ^kondig# aan<vblex><past>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$
* ^Sterrekundige{{fade|<n><pl>}}$ ^hê{{fade|<vblex><pres>}}$ ^kondig# aan{{fade|<vblex><past>}}$ ^die{{fade|<det><def><sg>}}$ ^ontdekking{{fade|<n><sg>}}$ (90%)
* ^Sterrekundige<n><pl>$ ^hê<vblex><pres>$ ^aankondig<vblex><past>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$
* ^Sterrekundige{{fade|<n><pl>}}$ ^hê{{fade|<vblex><pres>}}$ ^aankondig{{fade|<vblex><past>}}$ ^die{{fade|<det><def><sg>}}$ ^ontdekking{{fade|<n><sg>}}$ (100%)
</div>
</div>
* Astronomers '''have announced''' [the discovery].
* Astronomers '''have announced''' [the discovery].


;Past tense (non-separable)
===Past tense (non-separable)===


* Ek '''het''' [my rekenaar] '''gebreek'''
* Ek '''het''' [my rekenaar] '''gebreek'''
* ^Prpers<prn><subj><p1><mf><sg>$ ^hê<vblex><pres>$ ^my<det><pos><sg>$ ^rekenaar<n><sg>$ ^ge<pref><past>+breek<vblex><inf>$
* ^Prpers{{fade|<prn><subj><p1><mf><sg>}}$ ^hê{{fade|<vblex><pres>}}$ ^my{{fade|<det><pos><sg>}}$ ^rekenaar{{fade|<n><sg>}}$ ^ge{{fade|<pref><past>}}+breek{{fade|<vblex><inf>}}$
* Ek '''het gebreek''' [my rekenaar]
* Ek '''het gebreek''' [my rekenaar]
<div style="background-color: beige;">
<div style="background-color: beige; font-size:90%">
* ^Prpers<prn><subj><p1><mf><sg>$ ^hê<vblex><pres>$ ^ge<pref><past>+breek<vblex><inf>$ ^my<det><pos><sg>$ ^rekenaar<n><sg>$
* ^Prpers{{fade|<prn><subj><p1><mf><sg>}}$ ^hê{{fade|<vblex><pres>}}$ ^ge{{fade|<pref><past>}}+breek{{fade|<vblex><inf>}}$ ^my{{fade|<det><pos><sg>}}$ ^rekenaar{{fade|<n><sg>}}$ (90%)
* ^Prpers<prn><subj><p1><mf><sg>$ ^hê<vblex><pres>$ ^breek<vblex><past>$ ^my<det><pos><sg>$ ^rekenaar<n><sg>$
* ^Prpers{{fade|<prn><subj><p1><mf><sg>}}$ ^hê{{fade|<vblex><pres>}}$ ^breek{{fade|<vblex><past>}}$ ^my{{fade|<det><pos><sg>}}$ ^rekenaar{{fade|<n><sg>}}$ (100%)
</div>
</div>
* I have broken [my computer]
* I have broken [my computer]

===Spec===

<pre>
<pre>
<sep>
<sep>

Latest revision as of 11:44, 22 April 2008

Example for Afrikaans[edit]

Three problems in Afrikaans (and other Germanic languages), which can we solve with this module? -- percentages indicative amount of win.

Present tense (separable)[edit]

  • Sterrekundiges kondig [die ontdekking] aan.
  • ^Sterrekundig<n><pl>$ ^kondig<vblex><inf>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$ ^aan<pr>$
  • Sterrekundiges kondig aan [die ontdekking]
  • ^Sterrekundige<n><pl>$ ^kondig# aan<vblex><inf>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$ (90%)
  • ^Sterrekundige<n><pl>$ ^aankondig<vblex><inf>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$ (100%)
  • Astronomers announce [the discovery].

Past tense (separable)[edit]

  • Sterrekundiges het [die ontdekking] aangekondig.
  • ^Sterrekundige<n><pl>$ ^hê<vblex><pres>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$ ^aan<pr><atp>+ge<pref><past>+kondig<vblex><inf>$
  • Sterrekundiges het aangekondig [die ontdekking].
  • ^Sterrekundige<n><pl>$ ^hê<vblex><pres>$ ^aan<pr><atp>+ge<pref><past>+kondig<vblex><inf>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$ (50%)
  • ^Sterrekundige<n><pl>$ ^hê<vblex><pres>$ ^ge<pref><past>+kondig# aan<vblex><inf>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$ (80%)
  • ^Sterrekundige<n><pl>$ ^hê<vblex><pres>$ ^kondig# aan<vblex><past>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$ (90%)
  • ^Sterrekundige<n><pl>$ ^hê<vblex><pres>$ ^aankondig<vblex><past>$ ^die<det><def><sg>$ ^ontdekking<n><sg>$ (100%)
  • Astronomers have announced [the discovery].

Past tense (non-separable)[edit]

  • Ek het [my rekenaar] gebreek
  • ^Prpers<prn><subj><p1><mf><sg>$ ^hê<vblex><pres>$ ^my<det><pos><sg>$ ^rekenaar<n><sg>$ ^ge<pref><past>+breek<vblex><inf>$
  • Ek het gebreek [my rekenaar]
  • ^Prpers<prn><subj><p1><mf><sg>$ ^hê<vblex><pres>$ ^ge<pref><past>+breek<vblex><inf>$ ^my<det><pos><sg>$ ^rekenaar<n><sg>$ (90%)
  • ^Prpers<prn><subj><p1><mf><sg>$ ^hê<vblex><pres>$ ^breek<vblex><past>$ ^my<det><pos><sg>$ ^rekenaar<n><sg>$ (100%)
  • I have broken [my computer]

Spec[edit]

<sep>
<declarations>
  <sequence-decl n="pronoun">
    <word tags="prn.*"/>
  </sequence-decl>
  <sequence-decl n="SN1">
    <word tags="det.*"/>
    <word tags="adj.*"/>
    <word tags="n.*"/>
  <sequence-decl>
  <list-decl n=”het”>
    <word lemma=”hê” tags=”vblex.*”/>
  </list>
</declarations>
<expressions>
  <expression name="past tense">
    <list n="het”/>
    <sequence n="SN1"/>
    <word lemma="ge" tags="pref.past"/>
    <word lemma="*" tags="vblex.*"/>
  </expression>
</expressions>
</sep>