[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
user:zeman:morpho-challenge-2008 [2008/06/27 17:15]
zeman Zpracování převrácených slov.
user:zeman:morpho-challenge-2008 [2008/06/27 22:19]
zeman Oprava Unikódu v reverse().
Line 72: Line 72:
 $MC/mc_convert.pl -t fi < fi.dz.txt | gzip -c > wordlist.fin.dz.gz $MC/mc_convert.pl -t fi < fi.dz.txt | gzip -c > wordlist.fin.dz.gz
 $MC/mc_convert.pl -t tr < tr.dz.txt | gzip -c > wordlist.tur.dz.gz</code> $MC/mc_convert.pl -t tr < tr.dz.txt | gzip -c > wordlist.tur.dz.gz</code>
 +
  
 ===== Zpracování převrácených slov a hledání předpon ===== ===== Zpracování převrácených slov a hledání předpon =====
Line 79: Line 80:
 foreach l (ar de en fi tr) foreach l (ar de en fi tr)
   $MC/reverse.pl < $l.csts > $l.rev.csts   $MC/reverse.pl < $l.csts > $l.rev.csts
-  qsub.csh mc_jazyk.csh $l.rev+  qsub.csh $MC/mc_jazyk.csh $l.rev
 end</code> end</code>
  
 <code>foreach l (ar de en fi tr) <code>foreach l (ar de en fi tr)
-  cat $l.rev.kmeny.txt | perl -pe 'reverse($_)' > $l.kmeny1.txt +  cat $l.rev.kmeny.txt | $MC/reverse_line.pl > $l.kmeny1.txt 
-  cat $l.rev.koncovky.txt | perl -pe 'reverse($_)' > $l.predpony.txt+  cat $l.rev.koncovky.txt | $MC/reverse_line.pl > $l.predpony.txt 
 +  $MC/mchallenge3.pl $l.predpony.txt $l.kmeny1.txt $l.kmeny.txt $l.koncovky.txt < wordlist.$l.txt > $l.dz3.txt
 end</code> end</code>
  

[ Back to the navigation ] [ Back to the content ]