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
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support