Difference between revisions of "User:Francis Tyers/TLH"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
==Tarea 2== |
==Tarea 2== |
||
+ | <code> |
||
+ | $ 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 |
||
+ | </code> |
Revision as of 12:27, 23 December 2007
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