Difference between revisions of "User:Francis Tyers/TLH"
Jump to navigation
Jump to search
Line 48: | Line 48: | ||
</pre> |
</pre> |
||
==Tarea 3== |
Revision as of 13:07, 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 $ wc -l LexExp-ejecucion*.cooked 418 LexExp-ejecucion1.cooked 836 LexExp-ejecucion2.cooked 1254 LexExp-ejecucion3.cooked 1672 LexExp-ejecucion4.cooked 2090 LexExp-ejecucion5.cooked 2508 LexExp-ejecucion6.cooked 2926 LexExp-ejecucion7.cooked 3344 LexExp-ejecucion8.cooked 3761 LexExp-ejecucion9.cooked $ cat output 418 sentences LexEsp-0.1.t3 8948 919 90.686% 418 sentences LexEsp-0.2.t3 9155 712 92.784% 418 sentences LexEsp-0.3.t3 9275 592 94.000% 418 sentences LexEsp-0.4.t3 9313 554 94.385% 418 sentences LexEsp-0.5.t3 9366 501 94.922% 418 sentences LexEsp-0.6.t3 9391 476 95.176% 418 sentences LexEsp-0.7.t3 9419 448 95.460% 418 sentences LexEsp-0.8.t3 9444 423 95.713% 418 sentences LexEsp-0.9.t3 9470 397 95.976%