lexicaltransfer.sh 1.65 KB
Newer Older
priyank's avatar
priyank committed
1 2 3 4 5 6 7 8 9 10 11 12 13
perl $setu/bin/sys/common/printinput.pl $1 > lexinput
#perl $setu/bin/sys/common/addsentencetag.pl $1 > lexinput
perl $setu/bin/sl_tl/lexicaltransfer/kan/avy-replace.pl --path=$setu/bin/sl_tl/lexicaltransfer/kan --input=lexinput --output=lex-temp
perl $setu/bin/sys/common/addsentencetag.pl < lex-temp > lex-temp1
perl $setu/bin/sys/common/convertor/convertor.pl --path=$setu/bin/sys/common/convertor --stype=ssf --tlang=kan -s wx -t utf < lex-temp1 > lexinput1
#perl -C $setu/bin/sys/common/convertor-indic-1.4.8/convertor_indic.pl -f=ssf -l=kan -s=wx -t=utf -i=lex-temp1  > lexinput1
#perl $setu/bin/sys/common/kanconvertor/convert.pl -p $setu -s wx -t utf < lexinput > lexinput1
#java -classpath $setu/bin/sl_tl/lexicaltransfer/common:$setu/bin/sl_tl/lexicaltransfer/common/lib/MultiDictAPIs.jar:$setu/bin/sl_tl/lexicaltransfer/common/lib/SSFAPI.jar:$setu/bin/sl_tl/lexicaltransfer/common/lib/log4j-1.2.15.jar in.ac.iitb.cfilt.engine.LexicalTransferEngine -d4 -u $setu -i tempinput2 -s TEL -t HIN -y -e -r
java -classpath $setu/bin/sl_tl/lexicaltransfer/common:$setu/bin/sl_tl/lexicaltransfer/common/lib/SSFAPI.jar:$setu/bin/sl_tl/lexicaltransfer/common/lib/log4j-1.2.15.jar in.ac.iitb.cfilt.lte.LexicalTransferEngine -d4 -u$setu -sKAN -tHIN -y -l -i lexinput1 > lexoutput

#perl $setu/bin/sys/common/convertor/convertor.pl --path=$setu/bin/sys/common/convertor --stype=ssf --slang=kan -s utf -t wx < lexoutput > lexoutput2
perl $setu/bin/sl_tl/lexicaltransfer/kan/tam-sub/tam-suff.pl --path=$setu/bin/sl_tl/lexicaltransfer/kan/tam-sub --i lexoutput
#perl $setu/bin/sys/common/convertor/convertor.pl --path=$setu/bin/sys/common/convertor --stype=ssf --tlang=kan -s wx -t utf < lexoutput3