Berik and English/Structural Transfer

From LING073
Revision as of 10:48, 12 April 2018 by Jspring1 (talk | contribs) (Copulas)

Jump to: navigation, search

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>

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.