Dear Vineet, what Philipp suggests is an excellent option but maybe a bit overkill for you. What you were after is open2 (or open3 suggested by Adam).
See 'man perlipc' and search for IPC::Open2 O. Philipp Koehn wrote: > Hi, > > please check this: > http://www.statmt.org/moses/?n=Moses.WebTranslation > > -phi > > On Mon, Feb 9, 2009 at 2:17 PM, Vineet Kashyap > <[email protected]> wrote: >> Hi Adam >> >> Thanks >> >> What i am trying to do is to basically given an online >> Moses demonstration. For this reason i am trying to get >> the translation out of MOSES where the user input will be >> from a text box on the website. >> >> Do you have anything on these lines? >> >> Thanks, >> >> Vineet >> >> >> _______________________________________________ >> 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 > -- Ondrej Bojar (mailto:[email protected]) http://www.cuni.cz/~obo _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
