morph.sh 781 Bytes
Newer Older
priyank's avatar
priyank committed
1 2 3 4 5 6 7 8 9 10 11
perl $setu/bin/sys/common/deletesentencetag.pl $1 | perl $setu/bin/sys/common/remove_ssf.pl >morph_input

$setu/bin/sl/morph/hin/morph_hin.exe --logfilepath morph.log --pdgmfilepath $setu/data_bin/sl/morph/hin/ --uwordpath $setu/data_bin/sl/morph/hin/dict_final --dictfilepath $setu/data_bin/sl/morph/hin/dict/  -ULDWH --inputfile morph_input --outputfile morph_output

# uncomment below line if want to print nukta in root word

python $setu/bin/sl/morph/hin/nukta-adder.py  morph_output | perl $setu/bin/sys/common/addsentencetag.pl | perl $setu/bin/sl/morph/hin/adj-gen-1.1/adj_gen.pl

# uncomment below line and comment above line if do not want nukta in root word

#perl $setu/bin/sys/common/addsentencetag.pl morph_output | perl $setu/bin/sl/morph/hin/adj-gen-1.1/adj_gen.pl