Hi,
I made my moses decoder a server. Works well. But I'd like to: My server
generate an n-best list. But it does not.
The following command
~/path/mosesserver -f ~/path/moses.ini -n-best-list list 3 < ~/path/lista
note: my n-best list is just the 3 best sentences
What can it be?
thank you
___
There's some documentation about the moses server here:
http://www.statmt.org/moses/?n=Advanced.Moses
Hieu Hoang
http://statmt.org/hieu
On Tue, 25 Jun 2019 at 13:13, Lucas Pimenta Porto
wrote:
> Hi
>
> I am a Master student and I started working with Moses soon. I have an
> application deve
Hi
I am a Master student and I started working with Moses soon. I have an
application developed in Python and I wish, through it, to send text so
that the moses translates each of the sentences. How will I do this through
XML-RPC v2?
I have found little instruction on this subject
thank you
_
the number of scores on each line in the lexicalised reordering table, eg
it would be 6 in the case:
! ! ) ||| ! ! ) ||| 0.714286 0.142857 0.142857 0.428571 0.142857 0.428571
* Looking for MT/NLP opportunities *
Hieu Hoang
http://moses-smt.org/
On 19 May 2017 at 20:59, Steve Braich wrote:
Hi Hieu,
Can you give some guidance on the parameter --num-lex-scores?
Thanks,
Steve
On Sat, May 13, 2017 at 8:03 AM, Hieu Hoang wrote:
> Moses2 doesn't support the Compact phrase-table, only ProbingPT.
>
> You have to rebinarize the phrase-table with CreateProbingPT. It's better
> if you also
Moses2 doesn't support the Compact phrase-table, only ProbingPT.
You have to rebinarize the phrase-table with CreateProbingPT. It's
better if you also integrate the lexicalised reordering table the
phrase-table. The script
scripts/generic/binarize4moses2.perl
does this all in 1 go
On 13/05
Hello,
I am trying to improve the performance of Moses in a server environment
(not training).
I have tried various things, including the following which is described on
http://www.statmt.org/moses/?n=Moses.Optimize.
It has had no impact:
- *Multi-threading: *Up to 16 Cores on Google's Cloud
equ...@mit.edu wrote:
Date: Wed, 2 Nov 2016 14:32:04 -0500
From: Hieu Hoang
Subject: Re: [Moses-support] moses server options different for moses
vs. moses2
To: Martin Baumg?rtner
Cc: "moses-support@mit.edu"
added:
https://github.com/moses-smt/mosesdecoder/commit/d49
2:04 -0500
From: Hieu Hoang
Subject: Re: [Moses-support] moses server options different for moses
vs. moses2
To: Martin Baumg?rtner
Cc:"moses-support@mit.edu"
added:
https://github.com/moses-smt/mosesdecoder/commit/d49170de3dce41b52e4ddacf0b8f82cadb0919ef
it was actually already
added:
https://github.com/moses-smt/mosesdecoder/commit/d49170de3dce41b52e4ddacf0b8f82cadb0919ef
it was actually already ported from Moses but the params weren't set up.
Also note that not all the params listed by Moses2 have been
implemented. If they are not implemented, Moses2 will just sile
Hi Hieu,
especially the following params, all related to Abyss server
functionality, with decreasing priority:
--server-maxconn
--server-maxconn-backlog
--server-keepalive-maxconn
--server-keepalive-timeout
--server-timeout
Currently the default of these params is ok for me, but the
In general, I've added options that I understand and can test. Which
specific option are you after?
Hieu Hoang
http://www.hoang.co.uk/hieu
On 2 November 2016 at 06:04, Martin Baumgärtner <
martin.baumgaert...@star-group.net> wrote:
> Hi all,
>
> I've seen that there's a difference between moses
Hi all,
I've seen that there's a difference between moses and moses2 concerning
server options, especially missing the "Abyss stuff":
moses:
Moses Server Options:
--server Run moses as a translation server.
--daemon Run mo
Hi,
the pre- and post-processing should be done outside the core Moses binary.
One implementation of an interface to Moses that does all the pre and post
processing is server.py from Christian Buck, or its fork in CASMACAT.
https://github.com/christianbuck/matecat_util/tree/master/python_server
Hi all,
Is it possible to do pre/post-processing through bin/mosesserver, or would
I have to write my own server-side wrapper to do the text processing? EMS
is convenient for testing, since it allows you to call your own text
processing scripts, but I'm not immediately seeing any similar
functiona
It makes sense in my (admittedly very arcane) current scenario, but it's
not terribly important.
I think the answer to my question is - if you run mosesserver with
--output-search-graph, the mosesserver executable will not produce an
output graph file, and if you want the output graph, the client
Hi,
I am bit confused by this.
The point of Mosesserver is to interact with a running Moses process via
API requests.
If you want to run Moses in a way that it reads and writes local files, you
should just
uses the regular Moses batch process.
-phi
On Fri, Apr 8, 2016 at 10:25 AM, Lane Schwart
I was interested in the search graph being output to a file by Moses,
rather than by the python client. Is that possible?
On Thu, Apr 7, 2016 at 2:59 PM, Philipp Koehn wrote:
> Hi,
>
> to get the search graph back, you must also specify sg=true.
>
> See for an example lines 289-298 of:
>
> https
Hi,
to get the search graph back, you must also specify sg=true.
See for an example lines 289-298 of:
https://github.com/casmacat/moses-mt-server/blob/master/python_server/server.py
-phi
On Wed, Apr 6, 2016 at 4:02 PM, Lane Schwartz wrote:
> When running mosesserver with --output-search-graph
When running mosesserver with --output-search-graph, I don't get a search
graph file created. Is this the expected behavior? Or is something else
going on?
Thanks,
Lane
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/l
what is the exact commands you executed? Can you make your model
available for download so I can replicate the error.
The server seems to work ok for me on my own laptop and model
On 29/03/2016 15:14, faiza shahid wrote:
Hi,
I'm very new to moses and am currently working on the moses web
tra
Hi,
I'm very new to moses and am currently working on the moses web translation for
fr-en. I have tested the moses server on the terminal and followed the steps
from the moses website as much as possible but I'm getting errors on the
error.log shown below when I try to translate a website:[Tue M
plzz tell me where can i get detail stepwise procedure of building moses
server???
apurvajoshi1...@gmail.com
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
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 parame
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
Hi,
sorry for the trouble. Actually my firewall was blocking the request :(
Now it is working :)
Cheers
On Sat, Apr 25, 2015 at 8:21 AM, Mahima Sharma wrote:
> Hi,
>
> I am trying to run moses server. When I use "localhost:8089/RPC2" as
> server URL to create a client, then it works, but
Hi,
I am trying to run moses server. When I use "localhost:8089/RPC2" as server
URL to create a client, then it works, but when I give it with an IP
address it is giving an error. I have tried it on XMLRPC Forums but was not
able to rectify the problem.
Has anybody come across this problem and wh
The xmlrpc package name changed in 14.04. Try this apt-get and you'll
have the right ones, including xmlrpc.
sudo apt-get -y install \
cmake libbz2-dev libgoogle-perftools-dev \
liblbfgs-dev tcl-dev libsparsehash-dev \
libxmlrpc-c++8-dev libcmph-dev
When you do
Hello.
After I compiled moses 3.0 from source (./bjam
--with-irstlm=/home/install/irstml --with-giza=/home/install/giza-pp
--with-boost=/home/install/boost --with-xmlrpc-c=/home/install/xmlrpc-c
--with-srilm=/home/install/srilm --prefix=/home/install/moses) and I
start it with ./moseserver --se
Thanks Barry this was so helpful
From: Barry Haddow [mailto:bhad...@staffmail.ed.ac.uk]
Sent: Tuesday, October 21, 2014 5:30 PM
To: i.rama...@saudisoft.com; moses-support@mit.edu
Subject: Re: [Moses-support] Moses server installation
Hi Ihab
You need to run bjam from the top level in
Hi Ihab
You need to run bjam from the top level in Moses, and include the option
--with-xmlrpc-c=/path/to/xmlrpc-c
in order to specify where the xmlrpc-c library is,
cheers - Barry
On 21/10/14 15:51, Ihab Ramadan wrote:
Dears,
I try to install the moses server exists in
"mosesPath/contrib
Dears,
I try to install the moses server exists in
"mosesPath/contrib/server/mosesserver" using the jam command
But it gives me the error
Jamfile:3: in module scope
rule import unknown in module
at the first line in the Jamfile although I already installed boost.jam and
this is the output
r 17, 2014 at 9:26 AM, Lakshya wrote:
>
>>
>> The error is because of "nbest" is not a boolean , but it is an integer
>> type. So pass integer parameter.
>>
>>
>> Regards
>> Lakshya
>>
>>
>>
>> ------ Forwarded message -
eger parameter.
>
>
> Regards
> Lakshya
>
>
>
> -- Forwarded message --
> From: Barry Haddow
> Date: Thu, Apr 17, 2014 at 12:43 AM
> Subject: Re: [Moses-support] Moses server with -n-best-list option
> To: Rajnath Patel
> Cc: moses-support@
The error is because of "nbest" is not a boolean , but it is an integer
type. So pass integer parameter.
Regards
Lakshya
-- Forwarded message --
From: Barry Haddow
Date: Thu, Apr 17, 2014 at 12:43 AM
Subject: Re: [Moses-support] Moses server with -n-best-list
HI Raj
Not sure, what does the server log say? Try logging to a file, rather
than /dev/null.
cheers - Barry
On 16/04/14 18:25, Rajnath Patel wrote:
Hi Barry,
Thanks for quick reply. As you suggested now I am requesting with
"nbest=true" as - "mosesParams.put("nbest", "true");". Code is
at
Hi Barry,
Thanks for quick reply. As you suggested now I am requesting with
"nbest=true" as - "mosesParams.put("nbest", "true");". Code is attached
here with. Now its throwing Exception-
--
Exception in thread "main" org.apache.xmlrpc.XmlRpcException: Unexpected
error executing code for parti
Hi Raj
You need to specify nbest=true in the request you send to moses server.
There was a thread last week on this, and I think
nbest lists are working,
cheers - Barry
On 16/04/14 15:33, Rajnath Patel wrote:
> Hi,
>
> We are using mosesserver for our translation system. We are using java API
Hi,
We are using mosesserver for our translation system. We are using java API
given with the decoder, and its working fine. We want multiple
translations for same text. As in one moses support conversation It was
responded in Sept 2012, that mosesserver do not support -n-best-list
option. Is this
Hi Kamel
Could you try running the model with command-line Moses to see if the
same problem happens?
If you still get a seg-fault and no error message, would you be able to
run Moses in a debugger to get a stack trace?
cheers - Barry
On 07/04/14 18:25, kamel nebhi wrote:
> Hi,
>
> I try to in
Hi,
I try to install mosesserver on localhost. I have installed xml-rpc and
rebuild moses with no problem.
Next i use this command to run the server : *~/mosesdecoder/bin/mosesserver
-f working/model/moses.ini --server-port 8999*
But it failed with this message :
Defined parameters (per moses.i
Hi Prashant
This uses the suffix array phrase table, described here:
http://www.statmt.org/moses/?n=Moses.AdvancedFeatures#ntoc31
I think you can find more about it here:
homepages.inf.ed.ac.uk/miles/phd-projects/*levenberg*.pdf
For hierarchical model, you can use Adam Lopez suffix array
imp
Hi,
I am working with moses server. There is an option to use training corpus and
alignment file instead of normal phrase table.
Instead of
1 0 0 5
we can have
8 0 0 3
Am I right? But it seems the way of scoring the phrases is different here.
How does the decoding works in this case? What
Hi,
If you installed xmlrpc-c at the system level, then no --with-xmlrpc-c
argument should be required. Also, pay attention to this message from
--help:
--with-xmlrpc-c=/path/to/xmlrpc-c for libxmlrpc-c (used by server)
Note that, like language models, this is the --prefix where the li
Hi Duygu
The executables should land in the bin directory by default,
cheers - Barry
On 02/08/12 13:33, DUYGU ARALIOGLU wrote:
> Hi,
> I have installed moses successfully, I have also install xmlrpc-c via
> --sudo apt-get install libxmlrpc-core-c3-- then I have built the moses
> via --./bjam --w
Hi,
I have installed moses successfully, I have also install xmlrpc-c via
--sudo apt-get install libxmlrpc-core-c3-- then I have built the moses
via --./bjam --with-xmlrpc-c=[/path/to/xmlrpc-c-config]--. While doing
these I have followed the instructions in
http://www.statmt.org/moses/?n=Develo
more convenient as indicated by Barry.
Regards,
Panos Kanavos
> From: bhad...@inf.ed.ac.uk
> To: moses-support@mit.edu
> Date: Fri, 10 Dec 2010 12:31:10 +
> Subject: Re: [Moses-support] Moses server
>
> Hi Mehmet
>
> The daemon.pl is not writing the translation to
Hi,
I am working on decoding an input received through a port, and I'd like to
produce the output and send it to the port. I've followed the instructions
on the page http://www.statmt.org/moses/?n=Moses.WebTranslation, and I
managed to setup the server. When I run daemon.pl for a specific port, it
Hi Zahurul
Thanks for that. I've updated Makefile.am in svn as you suggested. The main
build system for moses was changed recently, and the server makefile wasn't
updated at that time. It still worked for me because I had an old libmoses.a
in the directory,
regards
Barry
On Wednesday 31 Mar 2
Dear Barry,
We use Ubuntu 9.10. The problem is solved now. I had to change the extension
of moses library file: "libmoses.a" to "libmoses.la" in the Makefile.am
(last line) in sever directory:
mosesserver_DEPENDENCIES = $(top_srcdir)/moses/src/libmoses.la
The moses library "libmoses.la" is being
On Wednesday 31 Mar 2010 11:12:28 Zahurul Islam wrote:
> Dear Barry,
> Where i can find build logs? I saw config.log in the top level moses
> directory which contains log of moses configuration. Thanks,
> Zahurul
>
Hi Zahurul
By 'build logs', I mean the output of running make at the top level.
i've just compiled from a clean download (and a clean svn up) and it's
built everything in 1 go.
there may be strange side effects if you do svn up of an existing
project and make. My best guess is the new options to compile moses as a
dynamic library is confusing the make process.
I would s
Not sure how relevant this is, but often when I've compiled Moses I've had
to dive into the src directory and run a make in there as well as running it
from the root directory for moses.
Maybe navigate to /src and run a make separately?
Kind regards,
Lee Ball
Infrastructure Manager
lee.b...@appli
Hi Zahurul
It looks as though libmoses.a did not build - the server build is unable to
find it. Could you check back through the build logs to see what happened?
regards
Barry
On Wednesday 31 Mar 2010 10:42:30 Zahurul Islam wrote:
> Dear Barry,
> Thank you very much. Here is the command list, i
Hi Zahurul
Did moses build correctly? Did you run make at the top level? The server build
is failing because it can't find the moses library.
Your configure line looks a little strange as the --with-xmlrpmc-c flag should
take an argument
eg. --with-xmlrpc-c=/disk3/bhaddow/xmlrpc-c/bin/xmlrpc-c
Hi,
I was trying to install new version of MOSES. I tried twice by svn update
and downloaded source from: https://sourceforge.net/projects/mosesdecoder/ .
Both time i met following error:
$Making all in server
$make[2]: Entering directory
`/l/disc1/project/piqasso/Experiments/MT/tools/moses-marc
You were right. I was messing up the path to srilm in ./configure. Everything
works fine now. Thank you. ___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
I'd think that you did not compile or link successfully against SRILM.
As a consequence LanguageModelInternal tries to load the language model
as opposed to being overloaded by the correct SRILM code.
just my 2 cents
Christof
Panagiotis Kanavos wrote:
> Hi,
>
>
> I downloaded moses from svn a
Hi,
I downloaded moses from svn and followed the steps to build the moses server
with multithreading. I think I built it successfully, but when I run it I get
this error when it starts loading the language model:
mosesserver: LanguageModelInternal.cpp:22: virtual bool
Moses::LanguageModelIn
yeah, if you do everything in the Cygwin environment and pretend it's
Linux, then it should work. (however, I haven't done this for a long
time, so can't guarantee it)
marco turchi wrote:
> Hi guys,
> thanks for your answers!
> Unfortunately it seems that would be better if I use Windows :-(
>
>
Hi guys,
thanks for your answers!
Unfortunately it seems that would be better if I use Windows :-(
Btw, If I find the xmlrpc-c and boost libraries for Windows, I can install
and compile Moses in the cygwin environment and in this case, I need the
normal Linux version of Moses. Is it correct?
Than
Hi Marco
To build the moses server and mosesmt you need the boost thread libraries, and
the xmlrpc-c libraries. If these are available for windows, then the moses
server should work on windows. But most of the moses developers use Linux or
OSX, so you're better off using one of these platforms
hi marco
with cygwin - yes, since cygwin is really unix.
with visual studio - no. I haven't updated the project files to do
multi-threading. There's also the problem of not having SRILM or IRSTLM
support
marco turchi wrote:
> Dear All,
> I have seen on the Moses web site that a Moses server an
Dear All,
I have seen on the Moses web site that a Moses server and multi-threaded
Moses are available.
Are these services included on the Windows version of Moses?
Thanks
Marco
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu
Hi all,
Münt, Bernd pisze:
>> Von: phko...@gmail.com [mailto:phko...@gmail.com] Im Auftrag
>
>> ok, I am late on that latest change. Please remove all the
>> abort() statments then.
>
> I think it is not so simple when doing this on mosesserver. It was discussed
> here last week that this migh
> Von: phko...@gmail.com [mailto:phko...@gmail.com] Im Auftrag
> ok, I am late on that latest change. Please remove all the
> abort() statments then.
I think it is not so simple when doing this on mosesserver. It was discussed
here last week that this might lead to memory leaks.
> In general,
Hi,
ok, I am late on that latest change. Please remove all the
abort() statments then.
In general, it would be better to ensure that no faulty XML
is generated in the first place. Graceful decay also leads
to error that are hard to track down.
-phi
2009/10/5 "Münt, Bernd" :
>> Von: phko...@gmai
> Von: phko...@gmail.com [mailto:phko...@gmail.com] Im Auftrag
> if you want the decoder to just be less picky and gracefully
> decay on faulty XML input, you can edit the source file
> moses/src/XmlOption.cpp and remove all "return false;"
> statements after "TRACE_ERR("ERROR:..."
> lines.
T
Hi,
if you want the decoder to just be less picky and gracefully
decay on faulty XML input, you can edit the source file
moses/src/XmlOption.cpp
and remove all "return false;" statements after "TRACE_ERR("ERROR:..."
lines.
This way, the XML is processed all the way through.
-phi
2009/10/1 "Münt
> The only problem is still invalid xml input.
> When I sent "bla blubb" it just dies without any notice.
>
> How can I prevent this?
>
> Is there a way to create a auto respawn server?
>
Hi Bernd
I've checked in a change to moses that will cause it to throw an exception on
bad xml input, inste
Hi Hieu and Barry,
Thanks for your answers.
I'm one step further now:
> I've successfully compiled xmlrpc-c on a 64 bit
> machine, running SuSe11 and
> g++ 4.3.1. I'm using the latest stable release of
> xmlrpc-c, which its
> version.h reports as 1.16.19.
Oh yes, the stable v
HI Hieu
The change to regular moses will be minimal. Instead of an abort(), there will
be an uncaught exception, which will lead to a call to abort(). So we don't
have to worry about leaks etc (moses will exit) and it will be clear to the
user that the translation failed.
For server moses, I a
i've been told performance isn't an issue anymore but i suppose we
should double check before we go down this route
the main thing is to cleanup up after an exception to make sure there
are no leaks etc, and to have some kind of feedback/logging so that the
user can re-attempt the translation.
Hi Hieu
At the moment moses calls abort() if it receives invalid xml. It would be easy
to change this to throw a runtime_error(), which would normally just lead to
an abort() call as the exception wouldn't be caught. However I could arrange
for the moses server to catch the exception and send s
there has been talk of using exceptions to catch errors such as input format
but, so far, no-one's taking the lead on this yet
2009/9/30 Barry Haddow
> Hi Bernd
>
> Responses inline.
>
> >
> > Then I tried to compile moses server.
> > It went wrong on a 64bit machine while compiling the prerequi
Hi Bernd
Responses inline.
>
> Then I tried to compile moses server.
> It went wrong on a 64bit machine while compiling the prerequisite xmlrpc-c:
> make[2]: Entering directory `/usr/src/xmlrpc-c-1.06.37/src/cpp'
> g++ -shared -Wl,-soname,libxmlrpc_cpp.so.3 -o libxmlrpc_cpp.so.3.06
> XmlRpcCpp.o
Hi togehter,
I just joint the mailing list and I'm new to use moses and especially setup an
enviroment for moses to use as an automatic translation service.
First I tried it with your suggestion of a perl daemon.
The daemon starts and responds fine, but it has the problem of "sudden death".
Somet
77 matches
Mail list logo