lexicaltransfer.sh 1.96 KB
Newer Older
priyank's avatar
priyank committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#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 $setu/bin/sys/common/convertor-indic-1.4.7/convertor_indic.pl -f=ssf -l=kan -s=wx -t=utf -i=lex-temp1 > lexinput1
#wxconv -f ssf -t intra -l kan -s wx -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 -e -r -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 > lexoutput1
python $setu/bin/sl_tl/transliteration/transliteration_updated.py -s kan -t hin -i lexoutput1
#perl $setu/bin/sl_tl/transliteration/transliteration.pl --path=$setu/bin/sl_tl/transliteration --stype=ssf --slang=kan --tlang=hin < lexoutput1
#perl $setu/bin/sys/common/convertor/convertor.pl --path=$setu/bin/sys/common/convertor --stype=ssf --tlang=kan -s wx -t utf < lexoutput3