yes, it has a server, added on 1st April, so make sure your code is after
that time

https://github.com/moses-smt/mosesdecoder/commit/289beae82b18de0b1bc06e8052c2057ffb6d94e3

Works in exactly the same way as normal moses:
   server:   $MOSES_DIR/bin/moses2 -f moses.integratedLexRO.ini --server
       ...
       END LoadDecodeGraphBackoff()
       Loaded : [0.151326] seconds
       RUN SERVER
       Listening on port 8080

   client: ./client.perl
        Content-Length header value was wrong, fixed at
/usr/local/share/perl/5.18.2/LWP/Protocol/http.pm line 258.
        -1527.196 mr président , what we devrons however également do à
biarritz , this is regarder a little more loin .
        Content-Length header value was wrong, fixed at
/usr/local/share/perl/5.18.2/LWP/Protocol/http.pm line 258.
        ....


Hieu Hoang
http://www.hoang.co.uk/hieu

On 22 September 2016 at 13:54, Vito Mandorino <
vito.mandor...@linguacustodia.com> wrote:

> Thank you. Does moses2 can be run in server mode? I tried calling it with
> the --server switch but I cannot manage to make it work as the usual
> mosesserver.
>
> Best regards,
> Vito Mandorino
>
> 2016-09-22 12:56 GMT+02:00 Hieu Hoang <hieuho...@gmail.com>:
>
>> run
>>   ./bin/CreateProbingPT
>> and it will tell you the arguments it needs.
>>
>> For Moses2, run
>>   ./bin/CreateProbingPT2
>>
>> more documentation here:
>>    http://www.statmt.org/moses/?n=Site.Moses2
>>
>> Hieu Hoang
>> http://www.hoang.co.uk/hieu
>>
>> On 22 September 2016 at 11:46, Vito Mandorino <
>> vito.mandor...@linguacustodia.com> wrote:
>>
>>> Dear all,
>>>
>>> do you know how to convert a phrase-table into ProbingPT format ? I
>>> didn't find documentation on this.
>>>
>>> Best regards,
>>> Vito Mandorino
>>>
>>> --
>>> *M**. Vito MANDORINO -- Chief Scientist*
>>>
>>>
>>> [image: 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
>>> <%2B33%206%2084%2065%2068%2089>*
>>>
>>> *Email :*  *vito.mandor...@linguacustodia.com
>>> <massinissa.ah...@linguacustodia.com>*
>>>
>>> *Website :*
>>> *www.linguacustodia.finance <http://www.linguacustodia.com/>*
>>>
>>> _______________________________________________
>>> Moses-support mailing list
>>> Moses-support@mit.edu
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>
>>>
>>
>
>
> --
> *M**. Vito MANDORINO -- Chief Scientist*
>
>
> [image: 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
> <%2B33%206%2084%2065%2068%2089>*
>
> *Email :*  *vito.mandor...@linguacustodia.com
> <massinissa.ah...@linguacustodia.com>*
>
> *Website :*
> *www.linguacustodia.finance <http://www.linguacustodia.com/>*
>
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to