hello all,
i designed MT for english-hindi pair
and now i am creating website of my MT

my shell script is

cd /home/techmahindra/only_MT

cat /home/techmahindra/input.txt > only_moses_sentence.txt

/home/techmahindra/mosesdecoder-RELEASE-3.0/bin/moses -f
/home/techmahindra/working_coep/train/model/moses.ini -i
/home/techmahindra/only_MT/only_moses_sentence.txt>
/home/techmahindra/hindi_god/festival-hi-0.1/test2.hi


my website structure is

textbox for english input text  >>  convert(button to be press..after
pressing it above script will run)  >> textbox for hindi output text


now when i type new english sentence in first textbox and press convert
button >
then my script runs ...
first content on textbox is copied to ~/input.txt ...and process continues
as per script
but pbm is every time i need to save input.txt ...then only moses command
accept it...i want automatic conversion after pressing  "convert"
but i need to first save input.txt ... then i get output...

so in short file reloading problem is coming ... so plz tell me how to
solve this??
is there any linux command by which we can save txt file??

plzz do reply on [email protected]
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to