Difference between revisions of "Amis/Disambiguation"

From LING073
Jump to: navigation, search
Line 1: Line 1:
 
==initial evaluation of ambiguity==
 
==initial evaluation of ambiguity==
 
to remove weird characters from tests, run like this:  
 
to remove weird characters from tests, run like this:  
−
cat /ling073/ling073-ami-corpus/ami.corpus.basic.txt | apertium-destxt | hfst-proc /ling073/ling073-ami/ami.automorf.hfst | apertium-retxt | sed 's/$\W*\^/$\n^/g'  
+
cat ami.corpus.basic.txt | apertium-destxt | hfst-proc ./ami.automorf.hfst | apertium-retxt | sed 's/$\W*\^/$\n^/g' | wc -l
 +
 
  
  

Revision as of 14:38, 16 March 2023

initial evaluation of ambiguity

to remove weird characters from tests, run like this: cat ami.corpus.basic.txt | apertium-destxt | hfst-proc ./ami.automorf.hfst | apertium-retxt | sed 's/$\W*\^/$\n^/g' | wc -l