Hi, the way you describe this, it is not possible right now, but you are welcome to add code to Moses to enable a server mode.
The online demo that Ondrej built is based on a server process that starts up Moses, and pipes incoming request into STDIN and reads out translations from STDOUT. In other words, it keeps the process running. I hope this helps. -phi On 12/5/07, Edgars Brālītis <[EMAIL PROTECTED]> wrote: > Dear Moses-Support, > > My colleague and I succeed in training English-Latvian and > Latvian-English SMT system on JRC v2.2 corpora. We would like to make > this system's demo available on internet. > > The problem is that we have not figured out how to make Moses with all > its data structures to remain in memory after current translation > call. So, every time someone wants to get small translation Moses > loads language model and phrase-table which takes couple of minutes. > > Is there any painless way to repeatedly pause Moses and resume it when > someone inputs sentence for translation? > > Thanks, > Edgars > _______________________________________________ > 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
