Hi all,

I've just pushed what I believe might address a few of the issues in this
thread:

- the more fine-grained configuration options for request handling and
queuing, server timeouts etc. (added in August due to threading issue) have
been transferred to the main moses executable.

- the server now pays attention to the xml-input option specified via json;
the range of accepted values is the same as when specified on the command
line. I have not written the xml-input handling and do not actively use it,
so it may or may not work. I don't think there are any regression tests
that test this right now. Reports from the trenches are welcome.

- mosesserver.cpp is deprecated. It is now merely a shell around the
regular moses call with --server. I did not remove it from the code base
entirely, as I assume that there's a plethora of setups out there that rely
on the existence of mosesserver. What the wrapper does is add --server to
the options and then call run regular moses.

- anyone adding stuff to mosesserver.cpp from now on owes me a lifetime
supply of the finest Laphroaig. Just send me a quarter cask every year for
Burns Nicht for the rest of my life if you do. If I haven't pushed anything
for two years, you may assume I'm dead.


- Uli

On Tue, Nov 10, 2015 at 2:58 PM, Ulrich Germann <ulrich.germ...@gmail.com>
wrote:

> Hi all,
>
> mosesserver is deprecated and should not be used any more. I'll transfer
> the threading-related changes to the server implementation in the regular
> moses executable and let you know once I'm done so that other things (like
> passthrough) can be added. By the looks of it, the changes are fairly
> straightforward, so it shouldn't take long. However, I can't guarantee that
> the new server will do everything the old server did, (or do it the same
> way).
>
> It would be fantastic if a few people could design and contribute test
> cases so that we can do some regression testing for the server. Ideally a
> test case should provide:
>
> - tiny models to work with (or we may be able to recycle some that already
> exist)
> - sample input (json)
> - expected output (json)
>
> Cheers - Uli
>
> On Tue, Nov 10, 2015 at 11:37 AM, Evgeny Matusov <ematu...@apptek.com>
> wrote:
>
>>
>> Hi,
>>
>> can any of the more active recent developers advise what is the latest
>> stable mosesserver implementation?
>>
>> It seems to be the one in moses/server, but the  one in in
>> contrib/server/mosesserver.cpp has been updated in August of this year with
>> an important fix related to multiple threads:
>>
>>
>> https://github.com/moses-smt/mosesdecoder/commit/3c682fa8b05af6bff1a09f420141795875cf9685
>> https://www.mail-archive.com/moses-support%40mit.edu/msg12875.html
>>
>> As Gregor mentioned, we would like to share our fix so that Mosesserver
>> correctly supports placeholders. I want to make sure that this is a fix for
>> something that many people use without problems.
>>
>> Thanks,
>> Evgeny.
>>
>>
>> ________________________________________
>> From: moses-support-boun...@mit.edu <moses-support-boun...@mit.edu> on
>> behalf of moses-support-requ...@mit.edu <moses-support-requ...@mit.edu>
>> Sent: Monday, November 9, 2015 6:02 PM
>> To: moses-support@mit.edu
>> Subject: Moses-support Digest, Vol 109, Issue 16
>>
>> Send Moses-support mailing list submissions to
>>         moses-support@mit.edu
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         http://mailman.mit.edu/mailman/listinfo/moses-support
>> or, via email, send a message with subject or body 'help' to
>>         moses-support-requ...@mit.edu
>>
>> You can reach the person managing the list at
>>         moses-support-ow...@mit.edu
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Moses-support digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Question about output alignment info (Marta Ruiz)
>>    2. Re: use placeholder with mosesserver (Leusch, Gregor)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Mon, 9 Nov 2015 16:10:26 +0100
>> From: Marta Ruiz <martaruizcostaju...@gmail.com>
>> Subject: [Moses-support] Question about output alignment info
>> To: moses-support@mit.edu
>> Message-ID:
>>         <CABEBqHLL=
>> vrajg5btd3amfvmhpcynda3nj-0ynyqwf3xuzd...@mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi all,
>>
>> When I use the option "-alignment-output-file [file]", I get just a few
>> alignments. Most sentences are in blank, except some that have one
>> alignment...
>>
>> best,
>> Marta
>>
>>
>>
>>
>> --
>> Marta Ruiz Costa-juss?
>> martaruizcostaju...@gmail.com
>> http://www.costa-jussa.com
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> http://mailman.mit.edu/mailman/private/moses-support/attachments/20151109/4da5ec6d/attachment-0001.html
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Mon, 9 Nov 2015 15:37:32 +0000
>> From: "Leusch, Gregor" <gleu...@ebay.com>
>> Subject: Re: [Moses-support] use placeholder with mosesserver
>> To: Vito Mandorino <vito.mandor...@linguacustodia.com>, moses-support
>>         <moses-support@mit.edu>
>> Message-ID: <d2667743.9f24%gleu...@ebay.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi,
>>
>> we saw the same issue a while ago in an older version of Moses.
>> Mosesserver and moses use different routines to parse the input string; in
>> particular the code in mosesserver did not parse placeholders input
>> correctly. It seems to me that this is fixed in the most recent version of
>> mosesserver (though I have not tested this; I just looked at the code); in
>> addition, our team is currently discussing whether it makes sense to make
>> available our patches to the mosesserver code either on the version we are
>> using, or on a more recent version, available end of this week.
>>
>> Best,
>>
>> Gregor
>>
>>
>>
>>
>> From: <moses-support-boun...@mit.edu<mailto:moses-support-boun...@mit.edu>>
>> on behalf of Vito Mandorino <vito.mandor...@linguacustodia.com<mailto:
>> vito.mandor...@linguacustodia.com>>
>> Date: Friday 6 November 2015 16:22
>> To: moses-support <moses-support@mit.edu<mailto:moses-support@mit.edu>>
>> Subject: [Moses-support] use placeholder with mosesserver
>>
>> Dear all,
>>
>> I have been unsuccessful so far in using the placeholder approach with
>> mosesserver. The translated segments contain the placeholder token @num@
>> instead of numbers.
>> Do you know how to get the numbers in the output?
>>
>> Many thanks,
>>
>> Vito Mandorino
>>
>>
>> --
>> M. Vito MANDORINO -- Chief Scientist
>>
>>
>> [Description?: Description?: lingua_custodia_final  full logo]
>>
>>  The Translation Trustee
>>
>> 1, Place Charles de Gaulle, 78180 Montigny-le-Bretonneux
>>
>> Tel : +33 1 30 44 04 23   Mobile : +33 6 84 65 68 89
>>
>> Email :  vito.mandor...@linguacustodia.com<mailto:
>> massinissa.ah...@linguacustodia.com>
>>
>> Website :  www.linguacustodia.com<http://www.linguacustodia.com/> -
>> www.thetranslationtrustee.com <http://www.thetranslationtrustee.com/>
>>
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> http://mailman.mit.edu/mailman/private/moses-support/attachments/20151109/c046c74c/attachment-0001.html
>> -------------- next part --------------
>> A non-text attachment was scrubbed...
>> Name: image001.jpg
>> Type: image/jpeg
>> Size: 4421 bytes
>> Desc: image001.jpg
>> Url :
>> http://mailman.mit.edu/mailman/private/moses-support/attachments/20151109/c046c74c/attachment-0001.jpg
>>
>> ------------------------------
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>> End of Moses-support Digest, Vol 109, Issue 16
>> **********************************************
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>
>
> --
> Ulrich Germann
> Senior Researcher
> School of Informatics
> University of Edinburgh
>



-- 
Ulrich Germann
Senior Researcher
School of Informatics
University of Edinburgh
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to