Moses-support Digest, Vol 103, Issue 23

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: processPhraseTableMin segfault (Valmi Dufour-Lussier)
2. Re: processPhraseTableMin segfault (Marcin Junczys-Dowmunt)
3. Moses as a service under release 3.0 (kwame porter robinson)
4. Re: Moses as a service under release 3.0 (Barry Haddow)
5. lattice MBR - what happened to my nbest features? (Jeremy Gwinnup)


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

Message: 1
Date: Wed, 6 May 2015 13:36:31 -0300
From: Valmi Dufour-Lussier <valmid@gmail.com>
Subject: Re: [Moses-support] processPhraseTableMin segfault
To: Marcin Junczys-Dowmunt <junczys@amu.edu.pl>
Cc: moses-support@mit.edu
Message-ID:
<CAKvvFCVWJcD_Ee7QH-jPfC45uZ+yeJGQejGBGzgacrSdXZW4NQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Your suggestion helped me figure what was wrong. I'm feeling very
stupid now: I hadn't created the binarised-model directory, and I
guess processPhraseTableMin is slightly lacking in this kind of
robustness--no offence meant, you making this tool available is much,
much appreciated.

This is a good thing, since the phrase-table is almost 3 GB gzipped.

Thank you, and sorry,
Valmi

2015-05-06 13:11 GMT-03:00 Marcin Junczys-Dowmunt <junczys@amu.edu.pl>:
> Hi,
>
> Could it be, you do not have write-access in /tmp ?
>
> If not, try "-T ." to create temporary files in the local dir.
>
> Best,
>
> Marcin


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

Message: 2
Date: Wed, 06 May 2015 18:38:40 +0200
From: Marcin Junczys-Dowmunt <junczys@amu.edu.pl>
Subject: Re: [Moses-support] processPhraseTableMin segfault
To: Valmi Dufour-Lussier <valmid@gmail.com>
Cc: moses-support@mit.edu
Message-ID: <910ce2854438bbb77763cfbe9f7b81a5@amu.edu.pl>
Content-Type: text/plain; charset="utf-8"



You are welcome.
You are also welcome to improve robustness. :)

W dniu 2015-05-06 18:36, Valmi Dufour-Lussier napisa?(a):

> Your suggestion helped me figure what was wrong. I'm feeling very
> stupid now: I hadn't created the binarised-model directory, and I
> guess processPhraseTableMin is slightly lacking in this kind of
> robustness--no offence meant, you making this tool available is much,
> much appreciated.
>
> This is a good thing, since the phrase-table is almost 3 GB gzipped.
>
> Thank you, and sorry,
> Valmi
>
> 2015-05-06 13:11 GMT-03:00 Marcin Junczys-Dowmunt <junczys@amu.edu.pl>:
>
>> Hi, Could it be, you do not have write-access in /tmp ? If not, try "-T ." to create temporary files in the local dir. Best, Marcin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150506/8a900de8/attachment-0001.htm

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

Message: 3
Date: Wed, 6 May 2015 14:59:20 -0400
From: kwame porter robinson <k.porter.robinson@gmail.com>
Subject: [Moses-support] Moses as a service under release 3.0
To: moses-support <moses-support@mit.edu>
Message-ID:
<CA+RrxgUSNadkWaK5=PZFLMtcUwVREbAFwVnyTfxsZOFNECNajg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

I am attempting to use the binary release 3 moses as a service. Recent
discussion indicates that mosesserver is depreciated and that moses
--server should be used instead. However, running 'moses --server
--server-port 1234 -f phrase-model/moses.ini' complains about illegal
switches.

So I looked at mosseserver. It complains about libxmlrpc libraries (*.so.7)
not being found. So I installed the libxmlrpc-c++ package (1.33.06) and
made soft links from the so.8 libs to so.7 so that mosesserver can load the
library (figuring that the functionality/interface was the same).

However, moseserver seg faults, when called with 'mosesserver --server-port
1234 -f phrase-model/moses.ini'. Does anyone know where/how to get
libxmlrpc libraries required by moses release 3.0 or otherwise make moses
as a service w/o having to re-build it? I'm using Ubunut 14.04.

If all else fails I can use moses' stdio but I was hoping to get this
working. Thank you for your time.

- Kwame
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150506/63dbbf6f/attachment-0001.htm

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

Message: 4
Date: Wed, 06 May 2015 20:42:53 +0100
From: Barry Haddow <bhaddow@inf.ed.ac.uk>
Subject: Re: [Moses-support] Moses as a service under release 3.0
To: kwame porter robinson <k.porter.robinson@gmail.com>, moses-support
<moses-support@mit.edu>
Message-ID: <554A6EBD.1070007@inf.ed.ac.uk>
Content-Type: text/plain; charset="iso-8859-1"

Hi Kwame

The --server switch was introduced post v3, so you would have to use
current master if you want to go down that route. However you will still
hit the xmlrpc issues.

> made soft links from the so.8 libs to so.7 so that mosesserver can
> load the library (figuring that the functionality/interface was the same).
Probably there's a reason for the version number change from 7 to 8, and
you've just hit the incompatibility. Make sure you build and run against
the same version of xmlrpc-c - we're using 1.16.33 which is probably
old, but works.

cheers - Barry


On 06/05/15 19:59, kwame porter robinson wrote:
> Hi,
>
> I am attempting to use the binary release 3 moses as a service. Recent
> discussion indicates that mosesserver is depreciated and that moses
> --server should be used instead. However, running 'moses --server
> --server-port 1234 -f phrase-model/moses.ini' complains about illegal
> switches.
>
> So I looked at mosseserver. It complains about libxmlrpc libraries
> (*.so.7) not being found. So I installed the libxmlrpc-c++ package
> (1.33.06) and made soft links from the so.8 libs to so.7 so that
> mosesserver can load the library (figuring that the
> functionality/interface was the same).
>
> However, moseserver seg faults, when called with 'mosesserver
> --server-port 1234 -f phrase-model/moses.ini'. Does anyone know
> where/how to get libxmlrpc libraries required by moses release 3.0 or
> otherwise make moses as a service w/o having to re-build it? I'm using
> Ubunut 14.04.
>
> If all else fails I can use moses' stdio but I was hoping to get this
> working. Thank you for your time.
>
> - Kwame
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150506/3fc386e0/attachment-0001.htm
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
Url: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150506/3fc386e0/attachment-0001.bat

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

Message: 5
Date: Wed, 6 May 2015 15:49:19 -0400
From: Jeremy Gwinnup <jeremy@gwinnup.org>
Subject: [Moses-support] lattice MBR - what happened to my nbest
features?
To: moses-support@mit.edu
Message-ID: <9A874FFA-AB71-4E68-BB76-7251F9B8CDF6@gwinnup.org>
Content-Type: text/plain; charset=utf-8

Hi,

I?ve been attempting to experiment with lattice MBR with various settings and I see something weird happen to my nbest lists:

0 ||| the prime ministers of india and japan meet in tokyo ||| Distortion0= ? etc etc becomes

0 ||| the prime ministers of india and japan meet in tokyo ||| map: 0 w: 12 11.19 8.06 6.63 5.39

My feature weights get replaced by map and w feature with 5 weights

I?m setting the following as moses.ini parameters:
lminimum-bayes-risk
lmbr-p
lmbr-r
mbr-scale
lmbr-pruning-factor

Anything extra that I need to know as far as what map and w are, or how to get my normal features back in the nbest list?

Thanks!
-Jeremy


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

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


End of Moses-support Digest, Vol 103, Issue 23
**********************************************

0 Response to "Moses-support Digest, Vol 103, Issue 23"

Post a Comment