Hi Uli,

have you been successful with downloading the sample engine? If you got problems with it, please let me know. Please take also into account that it's a time limited upload (7 days) ...

Martin


Am 23.11.2015 um 08:21 schrieb [email protected]:
Send Moses-support mailing list submissions to
        [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]

You can reach the person managing the list at
        [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. 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 <[email protected]>
Subject: Re: [Moses-support] Moses-support Digest, Vol 109, Issue 45
To: [email protected]
Message-ID: <[email protected]>
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 [email protected]:
Send Moses-support mailing list submissions to
        [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]

You can reach the person managing the list at
        [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. Re: Server issue with word-align (Martin Baumg?rtner)


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

Message: 1
Date: Thu, 19 Nov 2015 18:10:28 +0100
From: Martin Baumg?rtner<[email protected]>
Subject: Re: [Moses-support] Server issue with word-align
To:[email protected]
Cc:"[email protected]"  <[email protected]>
Message-ID:<[email protected]>
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
<[email protected]
<mailto:[email protected]>> 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:[email protected]>[email protected]
      <mailto:[email protected]>
      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
      [email protected]  <mailto:[email protected]>
      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 [email protected] <mailto:[email protected]>
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
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to