Difference between revisions of "Berik and English/Structural Transfer"

From LING073
Jump to: navigation, search
(Created page with "=== Pre-Evaluation === * Edit distance: 61 * Word Error Rate (WER): 89.71 % * Number of position-independent correct words: 8 * Position-independent word error rate (PER): 88....")
 
 
(8 intermediate revisions by one other user not shown)
Line 6: Line 6:
  
 
=== Copulas ===
 
=== Copulas ===
(...will go here later)
+
 
 +
* {{transferTest|bkl|eng|Ai taneyan.|I am not a child.}} ("I am not a child.")
 +
*: {{transferMorphTest|bkl|eng|ai{{tag|prn}}{{tag|subj}} tane{{tag|n}}+yan{{tag|neg}}|prpers{{tag|prn}}{{tag|subj}}{{tag|p1}}{{tag|mf}}{{tag|sg}} be{{tag|vbser}}{{tag|pres}}{{tag|p1}}{{tag|sg}} not{{tag|adv}} a{{tag|det}}{{tag|ind}}{{tag|sg}} child{{tag|n}}{{tag|sg}}}}
 +
 
 +
==== Ai taneyan. ====
 +
 
 +
<pre>echo "Ai taneyan." | apertium -d ../ling073-bkl bkl-tagger
 +
^Ai<prn><subj>$ ^tane<n>+yan<neg>$^..<sent>$</pre>
 +
 
 +
<pre>echo "Ai taneyan." | apertium -d ../ling073-bkl-eng bkl-eng-biltrans
 +
^Ai<prn><subj>/Prpers<prn><p1><mf><sg><subj>$ ^tane<n>/child<n>$ ^yan<neg>/not<adv>$^.<sent>/.<sent>$^.<sent>/.<sent>$</pre>
 +
 
 +
<pre>echo "Ai taneyan." | apertium -d ../ling073-bkl-eng bkl-eng-chunker
 +
 
 +
apertium-transfer: Rule 6 Ai<prn><subj>/Prpers<prn><p1><mf><sg><subj>
 +
 
 +
apertium-transfer: Rule 3 tane<n>/child<n>
 +
 
 +
apertium-transfer: Rule 4 yan<neg>/not<adv>
 +
 
 +
apertium-transfer: Rule 1 .<sent>/.<sent>
 +
 
 +
apertium-transfer: Rule 1 .<sent>/.<sent>
 +
^prn<PRN><p1><sg>{^Prpers<prn><p1><mf><sg><subj>$}$ ^n<SN><sg>{^child<n><2>$}$ ^neg<NEG>{^not<adv>$}$^sent<SENT>{^.<sent>$}$^sent<SENT>{^.<sent>$}$</pre>
 +
 
 +
<pre>echo "Ai taneyan." | apertium -d ../ling073-bkl-eng bkl-eng-interchunk
 +
 
 +
apertium-interchunk: Rule 2 prn<PRN><p1><sg>{^Prpers<prn><p1><mf><sg><subj>$} n<SN><sg>{^child<n><2>$} neg<NEG>{^not<adv>$}
 +
^prn<PRN><p1><sg>{^Prpers<prn><p1><mf><sg><subj>$}$ ^be<V><p1><sg>{^be<vbser><pres><2><3>$}$ ^neg<NEG>{^not<adv>$}$ ^n<SN><sg>{^child<n><2>$}$^sent<SENT>{^.<sent>$}$^sent<SENT>{^.<sent>$}$</pre>
 +
 
 +
<pre>echo "Ai taneyan." | apertium -d ../ling073-bkl-eng bkl-eng-postchunk
 +
^Prpers<prn><p1><mf><sg><subj>$ ^be<vbser><pres><p1><sg>$ ^not<adv>$ ^child<n><sg>$^.<sent>$^.<sent>$</pre>
 +
 
 +
<pre>echo "Ai taneyan." | apertium -d ../ling073-bkl-eng bkl-eng
 +
I am not child.</pre>
 +
 
 +
==== Je namwer bwernabaryan. ====
 +
 
 +
<pre>coconut[ling073-bkl-eng]$ echo "Je namwer bwernabaryan." | apertium -d ../ling073-bkl bkl-tagger
 +
^Je<prn><subj>$ ^namwer<adv>$ ^bwernabar<n>+yan<neg>$^..<sent>$</pre>
 +
 
 +
<pre>coconut[ling073-bkl-eng]$ echo "Je namwer bwernabaryan." | apertium -d ../ling073-bkl-eng bkl-eng-biltrans
 +
^Je<prn><subj>/Prpers<prn><p3><m><sg><subj>/Prpers<prn><p3><f><sg><subj>/Prpers<prn><p3><nt><sg><subj>$ ^namwer<adv>/now<adv>$ ^bwernabar<n>/sickness<n>/sick<adj>$ ^yan<neg>/not<adv>$^.<sent>/.<sent>$^.<sent>/.<sent>$</pre>
 +
 
 +
<pre>coconut[ling073-bkl-eng]$ echo "Je namwer bwernabaryan." | apertium -d ../ling073-bkl-eng bkl-eng-chunker
 +
 
 +
apertium-transfer: Rule 6 Je<prn><subj>/Prpers<prn><p3><m><sg><subj>/Prpers<prn><p3><f><sg><subj>/Prpers<prn><p3><nt><sg><subj>
 +
 
 +
apertium-transfer: Rule 5 namwer<adv>/now<adv>
 +
 
 +
apertium-transfer: Rule 3 bwernabar<n>/sick<adj>
 +
 
 +
apertium-transfer: Rule 4 yan<neg>/not<adv>
 +
 
 +
apertium-transfer: Rule 1 .<sent>/.<sent>
 +
 
 +
apertium-transfer: Rule 1 .<sent>/.<sent>
 +
^prn<PRN><p3><sg>{^Prpers<prn><p3><m><sg><subj>$}$ ^adv<ADV>{^now<adv>$}$ ^n<SA><sg>{^sick<adj><sint>$}$ ^neg<NEG>{^not<adv>$}$^sent<SENT>{^.<sent>$}$^sent<SENT>{^.<sent>$}$</pre>
 +
 
 +
<pre>coconut[ling073-bkl-eng]$ echo "Je namwer bwernabaryan." | apertium -d ../ling073-bkl-eng bkl-eng-interchunk
 +
 
 +
apertium-interchunk: Rule 1 prn<PRN><p3><sg>{^Prpers<prn><p3><m><sg><subj>$} adv<ADV>{^now<adv>$} n<SA><sg>{^sick<adj><sint>$} neg<NEG>{^not<adv>$}
 +
^prn<PRN><p3><sg>{^Prpers<prn><p3><m><sg><subj>$}$ ^be<V><p3><sg>{^be<vbser><pres><2><3>$}$ ^neg<NEG>{^not<adv>$}$ ^n<SA><sg>{^sick<adj><sint>$}$ ^adv<ADV>{^now<adv>$}$^sent<SENT>{^.<sent>$}$^sent<SENT>{^.<sent>$}$</pre>
 +
 
 +
<pre>coconut[ling073-bkl-eng]$ echo "Je namwer bwernabaryan." | apertium -d ../ling073-bkl-eng bkl-eng-postchunk
 +
^Prpers<prn><p3><m><sg><subj>$ ^be<vbser><pres><p3><sg>$ ^not<adv>$ ^sick<adj><sint>$ ^now<adv>$^.<sent>$^.<sent>$</pre>
 +
 
 +
<pre>coconut[ling073-bkl-eng]$ echo "Je namwer bwernabaryan." | apertium -d ../ling073-bkl-eng bkl-eng
 +
He is not sick now.</pre>
 +
 
 +
=== Post-Evaluation ===
 +
 
 +
* Edit distance: 52
 +
* Word Error Rate (WER): 76.47 %
 +
* Number of position-independent correct words: 18
 +
* Position-independent word error rate (PER): 73.53 %
 +
 
 +
 
 +
[[Category:Sp18_StructuralTransfer]]

Latest revision as of 10:58, 12 April 2018

Pre-Evaluation

  • Edit distance: 61
  • Word Error Rate (WER): 89.71 %
  • Number of position-independent correct words: 8
  • Position-independent word error rate (PER): 88.24 %

Copulas

  • (bkl) Ai taneyan. → (eng) I am not a child. ("I am not a child.")
    (bkl) ai<prn><subj> tane<n>+yan<neg> → (eng) prpers<prn><subj><p1><mf><sg> be<vbser><pres><p1><sg> not<adv> a<det><ind><sg> child<n><sg>

Ai taneyan.

echo "Ai taneyan." | apertium -d ../ling073-bkl bkl-tagger
^Ai<prn><subj>$ ^tane<n>+yan<neg>$^..<sent>$
echo "Ai taneyan." | apertium -d ../ling073-bkl-eng bkl-eng-biltrans
^Ai<prn><subj>/Prpers<prn><p1><mf><sg><subj>$ ^tane<n>/child<n>$ ^yan<neg>/not<adv>$^.<sent>/.<sent>$^.<sent>/.<sent>$
echo "Ai taneyan." | apertium -d ../ling073-bkl-eng bkl-eng-chunker

apertium-transfer: Rule 6 Ai<prn><subj>/Prpers<prn><p1><mf><sg><subj>

apertium-transfer: Rule 3 tane<n>/child<n>

apertium-transfer: Rule 4 yan<neg>/not<adv>

apertium-transfer: Rule 1 .<sent>/.<sent>

apertium-transfer: Rule 1 .<sent>/.<sent>
^prn<PRN><p1><sg>{^Prpers<prn><p1><mf><sg><subj>$}$ ^n<SN><sg>{^child<n><2>$}$ ^neg<NEG>{^not<adv>$}$^sent<SENT>{^.<sent>$}$^sent<SENT>{^.<sent>$}$
echo "Ai taneyan." | apertium -d ../ling073-bkl-eng bkl-eng-interchunk

apertium-interchunk: Rule 2 prn<PRN><p1><sg>{^Prpers<prn><p1><mf><sg><subj>$} n<SN><sg>{^child<n><2>$} neg<NEG>{^not<adv>$}
^prn<PRN><p1><sg>{^Prpers<prn><p1><mf><sg><subj>$}$ ^be<V><p1><sg>{^be<vbser><pres><2><3>$}$ ^neg<NEG>{^not<adv>$}$ ^n<SN><sg>{^child<n><2>$}$^sent<SENT>{^.<sent>$}$^sent<SENT>{^.<sent>$}$
echo "Ai taneyan." | apertium -d ../ling073-bkl-eng bkl-eng-postchunk
^Prpers<prn><p1><mf><sg><subj>$ ^be<vbser><pres><p1><sg>$ ^not<adv>$ ^child<n><sg>$^.<sent>$^.<sent>$
echo "Ai taneyan." | apertium -d ../ling073-bkl-eng bkl-eng
I am not child.

Je namwer bwernabaryan.

coconut[ling073-bkl-eng]$ echo "Je namwer bwernabaryan." | apertium -d ../ling073-bkl bkl-tagger
^Je<prn><subj>$ ^namwer<adv>$ ^bwernabar<n>+yan<neg>$^..<sent>$
coconut[ling073-bkl-eng]$ echo "Je namwer bwernabaryan." | apertium -d ../ling073-bkl-eng bkl-eng-biltrans
^Je<prn><subj>/Prpers<prn><p3><m><sg><subj>/Prpers<prn><p3><f><sg><subj>/Prpers<prn><p3><nt><sg><subj>$ ^namwer<adv>/now<adv>$ ^bwernabar<n>/sickness<n>/sick<adj>$ ^yan<neg>/not<adv>$^.<sent>/.<sent>$^.<sent>/.<sent>$
coconut[ling073-bkl-eng]$ echo "Je namwer bwernabaryan." | apertium -d ../ling073-bkl-eng bkl-eng-chunker

apertium-transfer: Rule 6 Je<prn><subj>/Prpers<prn><p3><m><sg><subj>/Prpers<prn><p3><f><sg><subj>/Prpers<prn><p3><nt><sg><subj>

apertium-transfer: Rule 5 namwer<adv>/now<adv>

apertium-transfer: Rule 3 bwernabar<n>/sick<adj>

apertium-transfer: Rule 4 yan<neg>/not<adv>

apertium-transfer: Rule 1 .<sent>/.<sent>

apertium-transfer: Rule 1 .<sent>/.<sent>
^prn<PRN><p3><sg>{^Prpers<prn><p3><m><sg><subj>$}$ ^adv<ADV>{^now<adv>$}$ ^n<SA><sg>{^sick<adj><sint>$}$ ^neg<NEG>{^not<adv>$}$^sent<SENT>{^.<sent>$}$^sent<SENT>{^.<sent>$}$
coconut[ling073-bkl-eng]$ echo "Je namwer bwernabaryan." | apertium -d ../ling073-bkl-eng bkl-eng-interchunk

apertium-interchunk: Rule 1 prn<PRN><p3><sg>{^Prpers<prn><p3><m><sg><subj>$} adv<ADV>{^now<adv>$} n<SA><sg>{^sick<adj><sint>$} neg<NEG>{^not<adv>$}
^prn<PRN><p3><sg>{^Prpers<prn><p3><m><sg><subj>$}$ ^be<V><p3><sg>{^be<vbser><pres><2><3>$}$ ^neg<NEG>{^not<adv>$}$ ^n<SA><sg>{^sick<adj><sint>$}$ ^adv<ADV>{^now<adv>$}$^sent<SENT>{^.<sent>$}$^sent<SENT>{^.<sent>$}$
coconut[ling073-bkl-eng]$ echo "Je namwer bwernabaryan." | apertium -d ../ling073-bkl-eng bkl-eng-postchunk
^Prpers<prn><p3><m><sg><subj>$ ^be<vbser><pres><p3><sg>$ ^not<adv>$ ^sick<adj><sint>$ ^now<adv>$^.<sent>$^.<sent>$
coconut[ling073-bkl-eng]$ echo "Je namwer bwernabaryan." | apertium -d ../ling073-bkl-eng bkl-eng
He is not sick now.

Post-Evaluation

  • Edit distance: 52
  • Word Error Rate (WER): 76.47 %
  • Number of position-independent correct words: 18
  • Position-independent word error rate (PER): 73.53 %