You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#clean ctm; sort by time; extract words; remove puncutation; lower-case
28
-
sed -e "s/([0-9]*)//g"$line| sed -e '/\$(.*)/d'| sort -g -k 3,3 | awk '{if($1 != "#") {printf("%s ",$5)}}END{print ""}'| sed -e 's/\,//g'| sed -e 's/\.//g'| sed -e 's/?//g'| sed -e 's/\!//g'| sed -e 's/\"//g'| sed -e 's/^\s*//g'| sed -e 's/\s\s*/ /g'| perl -nle 'print lc'> /tmp/$name/$set.$i.np
28
+
sed -e "s/([0-9]*)//g"$line| sed -e '/\$(.*)/d'| sort -g -k 3,3 | awk '{if($1 != "#") {printf("%s ",$5)}}END{print ""}'| sed -e 's/\,//g'| sed -e 's/\.//g'| sed -e 's/?//g'| sed -e 's/\!//g'| sed -e 's/\"//g'| sed -e 's/^\s*//g'| sed -e 's/\s\s*/ /g'| perl /opt/mosesdecoder/scripts/tokenizer/tokenizer.perl -l ${sl}|perl -nle 'print lc'> /tmp/$name/$set.$i.np
0 commit comments