Hi, to translate a set of English sentences, you have to put them into a separate file, say, "english-input.txt", and then run the decoder as follows:
~/mosesdecoder-RELEASE-3.0/bin/moses -f ~/working/train/model/moses.ini < english-input.txt -phi On Thu, Oct 8, 2015 at 10:59 PM, Apurva Joshi <[email protected]> wrote: > my snapshot... > > > On Fri, Oct 9, 2015 at 11:27 AM, Apurva Joshi <[email protected]> > wrote: > >> hello guyzz...i have designed SMT using moses for English-hindi ....i use >> following command to run this... >> >> ~/mosesdecoder-RELEASE-3.0/bin/moses -f ~/working/train/model/moses.ini >> >> after running above command...my LM, TM starts loading... >> and then i type english word...and i get corresponding op hindi >> translation... >> >> and it continously remains in that mode...means it does not go back to >> linux prompt '$' .... >> m attaching snapshot of op when i run above command... >> >> but then it continuously remain into it..so if i write following script >> pgm...then.... >> >> #!/bin/bash >> ~/mosesdecoder-RELEASE-3.0/bin/moses -f ~/working/train/model/moses.ini >> hello >> >> >> >> in above script it runs fst moses command....but then scrpit cant accept >> hello as input for hindi conversion.... >> >> >> plzzz tell me how to solve this pbm...i hv one command which takes >> english file as input and gives hindi op file... >> but evry time it loads LM ,TM like above..and gives file as op... >> >> but i want to run my fst initially above mentioned command so that after >> i should be able to give ip at any no of time...it should not load LM,TM >> for each ip.... >> >> >> plzzz help...and plzz reply on same email id... >> >> [email protected] >> >> guyzz m really waiting for ur help.... >> >> >> > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
