It makes sense in my (admittedly very arcane) current scenario, but it's not terribly important.
I think the answer to my question is - if you run mosesserver with --output-search-graph, the mosesserver executable will not produce an output graph file, and if you want the output graph, the client code must also specify the sg=true flag, and then the mosesserver will send the output search graph to the client over the wire. Thanks, Lane On Fri, Apr 8, 2016 at 9:43 AM, Philipp Koehn <[email protected]> wrote: > Hi, > > I am bit confused by this. > > The point of Mosesserver is to interact with a running Moses process via > API requests. > > If you want to run Moses in a way that it reads and writes local files, > you should just > uses the regular Moses batch process. > > -phi > > On Fri, Apr 8, 2016 at 10:25 AM, Lane Schwartz <[email protected]> wrote: > >> I was interested in the search graph being output to a file by Moses, >> rather than by the python client. Is that possible? >> >> On Thu, Apr 7, 2016 at 2:59 PM, Philipp Koehn <[email protected]> wrote: >> >>> Hi, >>> >>> to get the search graph back, you must also specify sg=true. >>> >>> See for an example lines 289-298 of: >>> >>> https://github.com/casmacat/moses-mt-server/blob/master/python_server/server.py >>> >>> -phi >>> >>> On Wed, Apr 6, 2016 at 4:02 PM, Lane Schwartz <[email protected]> >>> wrote: >>> >>>> When running mosesserver with --output-search-graph, I don't get a >>>> search graph file created. Is this the expected behavior? Or is something >>>> else going on? >>>> >>>> Thanks, >>>> Lane >>>> >>>> >>>> _______________________________________________ >>>> Moses-support mailing list >>>> [email protected] >>>> http://mailman.mit.edu/mailman/listinfo/moses-support >>>> >>>> >>> >> >> >> -- >> When a place gets crowded enough to require ID's, social collapse is not >> far away. It is time to go elsewhere. The best thing about space travel >> is that it made it possible to go elsewhere. >> -- R.A. Heinlein, "Time Enough For Love" >> >> _______________________________________________ >> Moses-support mailing list >> [email protected] >> http://mailman.mit.edu/mailman/listinfo/moses-support >> >> > -- When a place gets crowded enough to require ID's, social collapse is not far away. It is time to go elsewhere. The best thing about space travel is that it made it possible to go elsewhere. -- R.A. Heinlein, "Time Enough For Love"
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
