User:Francis Tyers/TLH

From Apertium
Jump to navigation Jump to search

Tarea 1

$ evaluate.pl LexEsp-0.cooked LexEsp-0.t3 
418 sentences
         LexEsp-0.t3     9470      397  95.976%

Tarea 2

$ for i in `seq 1 9`; do 
    cat LexEsp-[1-$i].cooked > LexExp-ejecucion$i.cooked; 
    cooked2lex.pl < LexExp-ejecucion$i.cooked > train.$i.lex; 
    cooked2ngram.pl < LexExp-ejecucion$i.cooked > train.$i.ngrams; 
    t3 train.$i.ngrams train.$i.lex < LexEsp-0.raw > LexEsp-0.$i.t3; 
    evaluate.pl LexEsp-0.cooked LexEsp-0.$i.t3 >> output ; 
done