Hi Uli,

thanks a lot! We will try to add some test cases for Mosesserver, including XML 
input with/without placeholders.


Best,

Evgeny.


________________________________
From: Ulrich Germann <[email protected]>
Sent: Wednesday, November 11, 2015 2:58 AM
To: Evgeny Matusov
Cc: [email protected]
Subject: Re: [Moses-support] use placeholder with mosesserver

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 
<[email protected]<mailto:[email protected]>> 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 
<[email protected]<mailto:[email protected]>> 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: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on behalf 
of [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>
Sent: Monday, November 9, 2015 6:02 PM
To: [email protected]<mailto:[email protected]>
Subject: Moses-support Digest, Vol 109, Issue 16

Send Moses-support mailing list submissions to
        [email protected]<mailto:[email protected]>

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
        [email protected]<mailto:[email protected]>

You can reach the person managing the list at
        [email protected]<mailto:[email protected]>

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 
<[email protected]<mailto:[email protected]>>
Subject: [Moses-support] Question about output alignment info
To: [email protected]<mailto:[email protected]>
Message-ID:
        
<CABEBqHLL=vrajg5btd3amfvmhpcynda3nj-0ynyqwf3xuzd...@mail.gmail.com<mailto:[email protected]>>
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?
[email protected]<mailto:[email protected]>
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" <[email protected]<mailto:[email protected]>>
Subject: Re: [Moses-support] use placeholder with mosesserver
To: Vito Mandorino 
<[email protected]<mailto:[email protected]>>, 
moses-support
        <[email protected]<mailto:[email protected]>>
Message-ID: 
<d2667743.9f24%[email protected]<mailto:d2667743.9f24%[email protected]>>
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: 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
 on behalf of Vito Mandorino 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
Date: Friday 6 November 2015 16:22
To: moses-support 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
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<tel:%2B33%201%2030%2044%2004%2023>   Mobile : +33 6 84 
65 68 89<tel:%2B33%206%2084%2065%2068%2089>

Email :  
[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>

Website :  
www.linguacustodia.com<http://www.linguacustodia.com><http://www.linguacustodia.com/>
 - www.thetranslationtrustee.com<http://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
[email protected]<mailto:[email protected]>
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 109, Issue 16
**********************************************
_______________________________________________
Moses-support mailing list
[email protected]<mailto:[email protected]>
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
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to