Re: [Moses-support] tuning not working properly in factored model

2016-04-28 Thread Matthias Huck
Hi Carlos, Have you tried switching off MBR decoding during tuning? (Run Moses without the -mbr parameter.) The exception it throws seems to suggest that MBR doesn't work with more than a single output factor. Cheers, Matthias On Thu, 2016-04-28 at 21:09 +0200, Carlos Escolano wrote: > Hi, > >

Re: [Moses-support] tuning not working properly in factored model

2016-04-28 Thread Carlos Escolano
Hi, Thank you for your answer I've tried setting the output factors in the moses.ini before and mert-moses.pl throws the following error: Loading table into memory...done. terminate called after throwing an instance of 'util::Exception' what(): moses/mbr.cpp:112 in const Moses::TrellisPath

Re: [Moses-support] tuning not working properly in factored model

2016-04-28 Thread Matthias Huck
Hi, Moses can be configured to output the target-side factors of your choice. Add something like this to your moses.ini: [output-factors] 0 1 2 Cheers, Matthias On Thu, 2016-04-28 at 18:16 +0200, Carlos Escolano wrote: > Hi, > > Thank you for your answer. > > You are right. While the

Re: [Moses-support] tuning not working properly in factored model

2016-04-28 Thread Carlos Escolano
Hi, Thank you for your answer. You are right. While the phrase table has all three factors in the run.X.best.out only the form appears. I'll check why this is happening. Best Regards, Carlos 2016-04-28 8:46 GMT+02:00 Ondrej Bojar : > Dear Carlos, > > My frequent

Re: [Moses-support] Phrases containing brackets mistaken for malformed nonterminals

2016-04-28 Thread Tom Hoar
Moses isn't confused. Square brackets are reserved characters and the user is responsible for escaping them. To review, these are the characters users must escape (for various reasons) both for your runtime with the Moses binary and in your source/target training corpus. Moses' build-in

[Moses-support] Phrases containing brackets mistaken for malformed nonterminals

2016-04-28 Thread Markus Saers
Hello, I am having problems reading in a phrase table derived from a corpus that (I have learned now) contained bracketed expressions such as "to like [someone]". I appears that Moses confuses these string with nonterminals. I built a regular phrase-based model, so I was a bit confused when it

[Moses-support] Getting error in building

2016-04-28 Thread Pranavan Theivendiram
Dear devs, I ran the following command in my ubuntu machine. make -f contrib/Makefiles/install-dependencies.gmake I am gettting the following errors. Please find the attachment for errors. Please help me on this issue. Thanks *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science

Re: [Moses-support] kenlm multithreading

2016-04-28 Thread Kenneth Heafield
Queries are too fine-grained. The application i.e. Moses takes care of threads. Regarding the command-line query program, it isn't multi-threaded but probably should be. That said, people who care about performance should be using the library instead of the command-line program to avoid string

Re: [Moses-support] tuning not working properly in factored model

2016-04-28 Thread Ondrej Bojar
Dear Carlos, My frequent mistake in this respect is the match of factor representation in run.X.best.out and the reference sentences. Technically, both is possible: evaluating only the first factor (form) or all factors of each token. BLEU does not care. Mismatch will cause terribly low