morph.sh 822 Bytes
Newer Older
priyank's avatar
priyank committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
perl $setu/bin/sys/common/printinput.pl $1 | perl $setu/bin/sys/common/remove_ssf.pl > morphinput1

#perl $setu/bin/sys/common/printinput.pl $1 > morphinput1
perl $setu/bin/sys/common/deletesentencetag.pl < morphinput1 > morphinput2

perl $setu/bin/sys/common/malconvertor/modified_unicode_wx.pl -i morphinput2 -o morphinput3

perl $setu/bin/sl/morph/mal/word-split.pl < morphinput3 > morphinput4

$setu/bin/sl/morph/mal/morph.out --logfilepath morph.log --pdgmfilepath $setu/data_bin/sl/morph/mal/ --uwordpath $setu/data_bin/sl/morph/mal/dict_final --dictfilepath $setu/data_bin/sl/morph/mal/dict/  -ULDWH --inputfile morphinput4 --outputfile morphoutput

#perl $setu/bin/sl/morph/mal/sym.pl -i morphoutput -o morph_output
perl $setu/bin/sys/common/addsentencetag.pl < morphoutput

#rm -fr morphoutput1 morphinput2 uword