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

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