Re: [Moses-support] decoding a confusion network using Moses' API

2012-05-03 Thread Sylvain Raybaud
, Sylvain On 27/04/12 13:11, Sylvain Raybaud wrote: Hi Barrow By adding cerr [S2TT] GOT TRANSLATION: *hypo endl; I was able to determine that the translation that are actually generated look reasonable. The problem therefore lays in how I extract it from the hypo object. I think I'll

Re: [Moses-support] decoding a confusion network using Moses' API

2012-04-26 Thread Sylvain Raybaud
I'm not familiar with this part of the code, but the strange score suggests that there's some uninitialised memory. You could try running through valgrind and it might give some clues, cheers - Barry On Thursday 26 Apr 2012 12:24:11 Sylvain Raybaud wrote: Hi all I'm using Moses API

[Moses-support] KenLM: The context of every 4-gram should appear as a 3-gram

2012-02-16 Thread Sylvain Raybaud
, -- Sylvain Raybaud ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support

Re: [Moses-support] [SOLVED?] GetLMImplementation function

2012-02-15 Thread Sylvain Raybaud
that you've backed off to a unigram and that assumption doesn't hold in this case. Kenneth On 02/14/2012 10:49 AM, Sylvain Raybaud wrote: float moses_score_unigram(lmi_data_t data, wid_t a) { const lm::base::Model* model = ((LanguageModel*)data)-GetKen(); lm::ngram::State

Re: [Moses-support] problems compiling and installing lasted version

2012-02-14 Thread Sylvain Raybaud
On 13/02/12 20:32, Kenneth Heafield wrote: Commit d62f301 adds option --includedir[=/path] to install headers. Most headers are copied with their full paths; moses/src/* is installed at the root. It works perfectly so far, thank you! cheers Sylvain -- Sylvain Raybaud

Re: [Moses-support] [SOLVED?] GetLMImplementation function

2012-02-14 Thread Sylvain Raybaud
/12 13:20, Sylvain Raybaud wrote: Hello I'm trying to update a software that makes use of Moses API. It uses (among others) Moses' LanguageModel and LanguageModelImplementation classes. It used to call method GetLMImplementation of an object of type LanguageModel, in order to use methods

Re: [Moses-support] problems compiling and installing lasted version

2012-02-13 Thread Sylvain Raybaud
it to ignore one of them. Do you have an idea how to do that? regards, -- Sylvain Raybaud ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support

Re: [Moses-support] GetLMImplementation function

2012-02-08 Thread Sylvain Raybaud
2012 20:05:54 Hieu Hoang wrote: hi sylvain i don't know the answer but from what i see, mosesserver still compiles On 07/02/2012 19:24, Sylvain Raybaud wrote: Hi, List I've been digging into this but I'm still clueless... I really need to get the LanguageModelImplementation object

Re: [Moses-support] GetLMImplementation function

2012-02-08 Thread Sylvain Raybaud
07 February 2012 12:24:07 Sylvain Raybaud wrote: Hi, List I've been digging into this but I'm still clueless... I really need to get the LanguageModelImplementation object, but nowhere in Base.h/cpp or in specific implementations like Ken.h/cpp could I find where it refers

Re: [Moses-support] GetLMImplementation function

2012-02-07 Thread Sylvain Raybaud
, I think mosesserver has got the same problem since its implementation uses the same methods I used. regards, Sylvain On Monday 06 February 2012 13:20:07 Sylvain Raybaud wrote: Hello I'm trying to update a software that makes use of Moses API. It uses (among others) Moses' LanguageModel

Re: [Moses-support] GetLMImplementation function

2012-02-07 Thread Sylvain Raybaud
the doxygen docs, if that helps, cheers - Barry On Tuesday 07 February 2012 12:24:07 Sylvain Raybaud wrote: Hi, List I've been digging into this but I'm still clueless... I really need to get the LanguageModelImplementation object, but nowhere in Base.h/cpp

[Moses-support] GetLMImplementation function

2012-02-06 Thread Sylvain Raybaud
Hello I'm trying to update a software that makes use of Moses API. It uses (among others) Moses' LanguageModel and LanguageModelImplementation classes. It used to call method GetLMImplementation of an object of type LanguageModel, in order to use methods NewState and GetValueForgotState of

[Moses-support] problems compiling and installing lasted version

2012-02-02 Thread Sylvain Raybaud
as it seems quite useless... best regards, -- Sylvain Raybaud ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support

Re: [Moses-support] problems compiling and installing lasted version

2012-02-02 Thread sylvain . raybaud
you suggest to be able to use moses libraries? -I/path/to/mosesdecoder/moses/src? regards, Sorry for the build barf, Kenneth On 02/02/2012 05:36 PM, Sylvain Raybaud wrote: Good evening all I recently pulled the latest version of moses using git. I ran into some problems

[Moses-support] moses loading phrase table two times?

2011-02-23 Thread Sylvain Raybaud
compiled from the last svn version. regards, -- Sylvain Raybaud # MERT optimized configuration # decoder /usr/local/bin/moses # BLEU 0.230684 on dev /home/sylvain/GMR/DATA/EUROPARL/test/en-fr.clean.fr # We were before running iteration 10 # finished Fri Feb 18 05:08:51 CET 2011 ### MOSES CONFIG FILE

Re: [Moses-support] Moses User Survey by TAUS

2011-01-19 Thread Sylvain Raybaud
got a 404 (http://www.translationautomation.com/about-taus/newsletters-and- alerts.htmlhttp://www.surveymonkey.com/). It's no big deal of course :) Also, will the results be published on this list or somewhere? I'm just curious. regards, -- Sylvain Raybaud

Re: [Moses-support] error with --with-kenlm

2011-01-12 Thread Sylvain Raybaud
-lOnDiskPt since libmoses depends on that too. There's probably a more elegant solution but libtool/autoconf/automake/autodefectivekitchensink terrify me; I'm a Boost.Build user. On 01/11/11 09:41, Sylvain Raybaud wrote: Hi! thank you for the answer. It seems there is a problem when building

[Moses-support] good practice for developping moses and using the svn

2011-01-11 Thread Sylvain Raybaud
in the repository under the branches directory. What are the conditions to check in some work here ? should the entire source tree be copied here, or just the files I want to change ? thank you best regards, -- Sylvain Raybaud sylvain.rayb...@loria.fr http://www.loria.fr/~raybauds/ PhD student

Re: [Moses-support] SLF to PLF - tests - moses crashing

2010-08-09 Thread Sylvain Raybaud
it, it crashed while it reads the lattice. So there must be something wrong in my script. It can't be probability above one, can it? Any hint is more than welcome... regards, Sylvain On Friday 06 August 2010 11:44:25 Sylvain Raybaud wrote: Hello A few days ago I came to you asking

Re: [Moses-support] SLF to PLF - tests - moses crashing

2010-08-09 Thread Sylvain Raybaud
prevents some bad pruning from taking place that can lead to crashes. [max-phrase-length] Chris Hi, thanks for your answer! I run moses with the option: -max-phrase-length 10 this should do, right? regards, Sylvain On Mon, Aug 9, 2010 at 12:28 PM, Sylvain Raybaud

Re: [Moses-support] SLF to PLF

2010-08-06 Thread Sylvain Raybaud
On Friday 06 August 2010 11:44:25 Sylvain Raybaud wrote: Hello A few days ago I came to you asking if someone knew of a script to turn word lattice from SLF (HTK format) into PLF (Moses input format). It seems that doesn't exist yet, so here is my proposal (python file attached). I

Re: [Moses-support] SLF to PLF

2010-08-06 Thread Sylvain Raybaud
On Friday 06 August 2010 14:06:55 Sylvain Raybaud wrote: * moses cannot translate real world graph generated with this tool. See for example: http://perso.crans.org/raybaud/realworld.slf.gz got it: sphinx hypothesis contains a quote: nous incombe d' assurer which ends up like this in plf

Re: [Moses-support] SLF to PLF

2010-08-06 Thread Sylvain Raybaud
)1 700 6724 2010/8/6 Sylvain Raybaud sylvain.rayb...@loria.fr On Friday 06 August 2010 14:06:55 Sylvain Raybaud wrote: * moses cannot translate real world graph generated with this tool. See for example: http://perso.crans.org/raybaud/realworld.slf.gz got it: sphinx

Re: [Moses-support] SLF to PLF

2010-08-06 Thread Sylvain Raybaud
:-nan On Friday 06 August 2010 15:04:59 Sylvain Raybaud wrote: Yep that works, I promise next time I'll think before I post :) Thank you! see new script attached. On Friday 06 August 2010 14:54:41 Jie Jiang wrote: add a \ before that quote Best regards! Jie Jiang CNGL, School

Re: [Moses-support] translation input format

2010-08-06 Thread Sylvain Raybaud
On Friday 06 August 2010 15:36:14 Gary Daine wrote: I have a very basic-sounding question, but I've not been able to find any reference in the documentation. Since Moses is trained on tokenized, lowercased corpora, is it necessary to tokenize and lowercase the text to be translated as well