Difference between revisions of "Kaingang/Disambiguation"

From LING073
Jump to: navigation, search
(Created page with "==Initial evaluation of ambiguity== $ cat ling073-kgp-corpus/kgp.corpus.basic.txt | apertium -d ling073-kgp kgp-morph | sed 's/$\W*\^/$\n^/g' | grep '\/.*\/' | wc -l 530 $...")
 
(After adding rules for disambiguation)
Line 4: Line 4:
 
  $ cat ling073-kgp-corpus/kgp.corpus.basic.txt | apertium -d ling073-kgp kgp-tagger | sed 's/$\W*\^/$\n^/g' | grep '\/.*\/' | wc -l
 
  $ cat ling073-kgp-corpus/kgp.corpus.basic.txt | apertium -d ling073-kgp kgp-tagger | sed 's/$\W*\^/$\n^/g' | grep '\/.*\/' | wc -l
 
  530
 
  530
==After adding rules for disambiguation==
+
==Final evaluation of ambiguity==
 
  $ cat ling073-kgp-corpus/kgp.corpus.basic.txt | apertium -d ling073-kgp kgp-morph | sed 's/$\W*\^/$\n^/g' | grep '\/.*\/' | wc -l
 
  $ cat ling073-kgp-corpus/kgp.corpus.basic.txt | apertium -d ling073-kgp kgp-morph | sed 's/$\W*\^/$\n^/g' | grep '\/.*\/' | wc -l
 
  530
 
  530
 
  $ cat ling073-kgp-corpus/kgp.corpus.basic.txt | apertium -d ling073-kgp kgp-tagger | sed 's/$\W*\^/$\n^/g' | grep '\/.*\/' | wc -l
 
  $ cat ling073-kgp-corpus/kgp.corpus.basic.txt | apertium -d ling073-kgp kgp-tagger | sed 's/$\W*\^/$\n^/g' | grep '\/.*\/' | wc -l
 
  493
 
  493

Revision as of 08:48, 4 April 2019

Initial evaluation of ambiguity

$ cat ling073-kgp-corpus/kgp.corpus.basic.txt | apertium -d ling073-kgp kgp-morph | sed 's/$\W*\^/$\n^/g' | grep '\/.*\/' | wc -l
530
$ cat ling073-kgp-corpus/kgp.corpus.basic.txt | apertium -d ling073-kgp kgp-tagger | sed 's/$\W*\^/$\n^/g' | grep '\/.*\/' | wc -l
530

Final evaluation of ambiguity

$ cat ling073-kgp-corpus/kgp.corpus.basic.txt | apertium -d ling073-kgp kgp-morph | sed 's/$\W*\^/$\n^/g' | grep '\/.*\/' | wc -l
530
$ cat ling073-kgp-corpus/kgp.corpus.basic.txt | apertium -d ling073-kgp kgp-tagger | sed 's/$\W*\^/$\n^/g' | grep '\/.*\/' | wc -l
493