Moses-support Digest, Vol 86, Issue 70

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: problem with weighting translation models using
client_multimodel.py (Rico Sennrich)


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

Message: 1
Date: Mon, 23 Dec 2013 16:30:15 +0000 (UTC)
From: Rico Sennrich <rico.sennrich@gmx.ch>
Subject: Re: [Moses-support] problem with weighting translation models
using client_multimodel.py
To: moses-support@mit.edu
Message-ID: <loom.20131223T172740-650@post.gmane.org>
Content-Type: text/plain; charset=utf-8

??????? ????????? <verbalab@...> writes:

>
> Hi, everyone!
>
> I have a problem with weighting two translation models using
client_multimodel.py. When I function like
> that (with no weights):
>
> translate(['i have a dream'],server)
>
> it's ok - Moses responses me with translation via xmlrpc.
>
> But when I try to add weigts like that
>
> translate(['i have a dream'],server, '0.1,0.1')
>
> it returns nothing, neither translation nor error report.

Hi Alexander,

'0.1,0.1' is a string, but the function translate expects a list of floats.
Try this:

translate(['i have a dream'],server, [0.1, 0.1])

Tell me if this works; I'll try to better document the arguments early next
year.

-
Rico



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

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


End of Moses-support Digest, Vol 86, Issue 70
*********************************************

0 Response to "Moses-support Digest, Vol 86, Issue 70"

Post a Comment