[ 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 Both sides next revision
user:zeman:morpho-challenge-2008 [2008/06/27 21:06]
zeman Morfematická segmentace s předponami.
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 83: Line 84:
  
 <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   $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 ]