Moses-support Digest, Vol 102, Issue 65

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 Server (Barry Haddow)


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

Message: 1
Date: Wed, 29 Apr 2015 10:11:05 +0100
From: Barry Haddow <bhaddow@inf.ed.ac.uk>
Subject: Re: [Moses-support] Moses Server
To: Abdelfetah Boumerdas <aa_boumerdas@esi.dz>, moses-support
<moses-support@mit.edu>
Message-ID: <5540A029.5070703@inf.ed.ac.uk>
Content-Type: text/plain; charset="iso-8859-1"

Hi Abdelfetah

None of these are implemented at the moment, to the best of my knowledge.

Outputting to file should be straightforward, although you may want to
add an extra parameter to the translate request that the client can use
to pass an identifier.

Dynamically changing the search parameters and model parameters is
harder because of Moses' use of global data structures (see recent
discussion on language model per-sentence on this list). This is
something we are trying to address in the MMT (http://www.modernmt.eu/)
project.

Note that if you use memory-mapped models then multiple moses server
instances will share resources, so that gives you a limited way to offer
different parameterisations,

cheers - Barry

On 28/04/15 11:48, Abdelfetah Boumerdas wrote:
> Dear Moses Users/Developers
> I'm working on a web application that uses moses and i want to make it
> work with the moses server and here is what i want to do with it:
>
> * i want to give the user the ability to choose the option that he
> wants to execute on moses for example the stack size
> * i want to send this info along with the text to be translated to
> the moses server
> * after that i want the moses server to print everything into a file
> that i will use to extract the info i need for my application
>
> Doing that i faced these problems and I'll be very grateful if you can
> tell me how can i surpass them
>
> 1. using the xmlrpc library can i send options to the moses server.
> For example from a python program and using the xmlrpc can i tell
> the moses server to translate a text with a stack size of 3 (-s 3) ??
> 2. can i launch the moses server process once and each time send him
> a different moses.ini file to work on???
> 3. because the moses server is launched one time and listens for the
> message to arrive to be treated which is the definition of a
> server. When i want to print the results to the file i see that
> the moses server adds the lines of each execution to the file
> given to him at first but what i want is for him to overwrite that
> file each time. how can i do that??
>
> thank you in advance.
>
> --
> BOUMERDAS Abdelfetah
> 5?me Ann?e Option Syst?mes Informatiques (SIQ)
> Ecole nationale Sup?rieure d'Informatique ESI (ex INI)
> BP 68 M Oued Smar 16309 - ALGER
>
>
>
>
> _______________________________________________
> 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/20150429/1728b8ed/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/20150429/1728b8ed/attachment-0001.bat

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

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


End of Moses-support Digest, Vol 102, Issue 65
**********************************************

Related Posts :

0 Response to "Moses-support Digest, Vol 102, Issue 65"

Post a Comment