Moses-support Digest, Vol 109, Issue 50

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-request@mit.edu

You can reach the person managing the list at
moses-support-owner@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. Re: Moses-support Digest, Vol 109, Issue 45 (Martin Baumg?rtner)


----------------------------------------------------------------------

Message: 1
Date: Mon, 23 Nov 2015 08:21:25 +0100
From: Martin Baumg?rtner <martin.baumgaertner@star-group.net>
Subject: Re: [Moses-support] Moses-support Digest, Vol 109, Issue 45
To: moses-support@mit.edu
Message-ID: <5652BE75.7020607@star-group.net>
Content-Type: text/plain; charset="windows-1252"

Hi Uli,

you can download a hopefully tiny enough model [de-en] from here:

https://fil.email/20szKB?utm_source=confirmation&utm_medium=email&utm_campaign=Email%20Confirmation&utm_content=free

It's based on the first 5000 lines of the europarl corpus -
http://www.statmt.org/europarl/v7/de-en.tgz + one magic sentence "Dies
ist ein Test." - with 150 tune / 50 test segments randomly extracted.

Extraction: tar xvfj walgn.tar.bz2
Execution: cd waln_engine ; moses --servermoses.ini &

Use xmlrpc-request (see previous email) or simply modify
mosesdecoder/moses/TranslationRequest.cpp (line 396)

if (m_withWordAlignInfo) {

=>

if (1) {

... recompile (mosesdecoder/previous.sh) and then call script
client_test.perl ...

Best,
Martin


Am 19.11.2015 um 18:10 schrieb moses-support-request@mit.edu:
> 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-request@mit.edu
>
> You can reach the person managing the list at
> moses-support-owner@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. Re: Server issue with word-align (Martin Baumg?rtner)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 19 Nov 2015 18:10:28 +0100
> From: Martin Baumg?rtner<martin.baumgaertner@star-group.net>
> Subject: Re: [Moses-support] Server issue with word-align
> To:ugermann@inf.ed.ac.uk
> Cc:"moses-support@mit.edu" <moses-support@mit.edu>
> Message-ID:<564E0284.9050802@star-group.net>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Uli,
>
> I'm using the following xmlrpc request:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <methodCall>
> <methodName>translate</methodName>
> <params><param><value>
> <struct>
> <member>
> <name>text</name>
> <value>
> <string>dies ist ein Test .</string>
> </value>
> </member>
> <member>
> <name>word-align</name>
> <value>
> <string>1</string>
> </value>
> </member>
> </struct></value></param>
> </params>
> </methodCall>
>
> For models, .ini etc. I'll send you tomorrow ...
>
> Martin
>
> Am 19.11.2015 um 17:53 schrieb Ulrich Germann:
>> I can't replicate the crash. Can you send me small (!) models, the
>> corresponding .ini file, and a json request that demonstrate the
>> behaviour?
>>
>> - Uli
>>
>> On Thu, Nov 19, 2015 at 2:19 PM, Martin Baumg?rtner
>> <martin.baumgaertner@star-group.net
>> <mailto:martin.baumgaertner@star-group.net>> wrote:
>>
>> Hi all,
>>
>> after having pulled the latest version from master [b002fade]
>> moses crashes when being called in server mode and requested with
>> xmlrpc-c parameter 'word-align':
>>
>> > moses --server -f /path/to/moses.ini &
>>
>> Then send a request from client using 'word-align' member:
>>
>> [...]
>> [moses/server/Server.cpp:36] Listening on port 8080
>>
>> [moses/server/TranslationRequest.cpp:319] Input: Dies ist ein
>> Test .
>> Translating: Dies ist ein Test .
>> binary file loaded, default OFF_T: -1
>> Line 0: Collecting options took 0.020 seconds at
>> moses/Manager.cpp:134
>> Line 0: Search took 0.042 seconds
>> [moses/server/TranslationRequest.cpp:417] SERVER TRANSLATION:
>> This is a test .
>> terminate called after throwing an instance of 'girerr::error'
>> what(): Assigning to already instantiated xmlrpc_c::value
>>
>>
>> ... which appears to me like a bug.
>>
>> Thanks in advance!
>>
>> Cheers,
>> Martin
>>
>> --
>>
>> *STAR Group*<http://www.star-group.net>
>> <http://www.star-group.net/>
>>
>> *Martin Baumg?rtner*
>>
>> STAR Language Technology & Solutions GmbH
>> Umberto-Nobile-Stra?e 19 | 71063 Sindelfingen | Germany
>> Tel. +49 70 31-4 10 92-0
>> <mailto:martin.baumgaertner@star-group.net>martin.baumgaertner@star-group.net
>> <mailto:martin.baumgaertner@star-group.net>
>> Fax +49 70 31-4 10 92-70 www.star-group.net
>> <http://www.star-group.net/>
>> Gesch?ftsf?hrer: Oliver Rau, Bernd Barth
>> Handelsregister Stuttgart HRB 245654 | St.-Nr. 56098/11677
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu <mailto:Moses-support@mit.edu>
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>>
>>
>> --
>> Ulrich Germann
>> Senior Researcher
>> School of Informatics
>> University of Edinburgh

--

*STAR Group* <http://www.star-group.net>
<http://www.star-group.net/>

*Martin Baumg?rtner*

STAR Language Technology & Solutions GmbH
Umberto-Nobile-Stra?e 19 | 71063 Sindelfingen | Germany
Tel. +49 70 31-4 10 92-0
<mailto:martin.baumgaertner@star-group.net>martin.baumgaertner@star-group.net

Fax +49 70 31-4 10 92-70 www.star-group.net <http://www.star-group.net/>
Gesch?ftsf?hrer: Oliver Rau, Bernd Barth
Handelsregister Stuttgart HRB 245654 | St.-Nr. 56098/11677

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151123/d9285dc5/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 8030 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20151123/d9285dc5/attachment.gif

------------------------------

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 109, Issue 50
**********************************************

Related Posts :

0 Response to "Moses-support Digest, Vol 109, Issue 50"

Post a Comment