Re: [Moses-support] Using Moses language models

2011-08-24 Thread Marc LEGENDRE
hieuho...@gmail.com À: Marc LEGENDRE marc.legendr...@etumail.uhp-nancy.fr Cc: Kenneth Heafield mo...@kheafield.com, moses-support@mit.edu Envoyé: Mercredi 27 Juillet 2011 13:34:35 Objet: Re: [Moses-support] Using Moses language models hi marc, thx for the commits. the regression test

Re: [Moses-support] Using Moses language models

2011-08-24 Thread Kenneth Heafield
, moses-support@mit.edu Envoyé: Mercredi 27 Juillet 2011 13:34:35 Objet: Re: [Moses-support] Using Moses language models hi marc, thx for the commits. the regression test failed probably because the decoder wasn't compiled with SRI or IRST LM, which some of the regression test specify. I

Re: [Moses-support] Using Moses language models

2011-08-24 Thread Kenneth Heafield
: [Moses-support] Using Moses language models I support depending on Boost but sadly some people don't. PhraseDictionaryTree.cpp:3 in your branch includes a boost header. Kenneth On 08/24/11 10:17, Marc LEGENDRE wrote: Hi, I merged the trunk into my branch; it looks ok. May my little

Re: [Moses-support] Using Moses language models

2011-08-24 Thread Marc LEGENDRE
Absolutely no problem about the name thing, thank you for asking. Marc - Mail original - De: Kenneth Heafield mo...@kheafield.com À: moses-support@mit.edu Envoyé: Mercredi 24 Août 2011 12:24:27 Objet: Re: [Moses-support] Using Moses language models Sorry about the spam. Should

Re: [Moses-support] Using Moses language models

2011-08-24 Thread Kenneth Heafield
: [Moses-support] Using Moses language models Sorry about the spam. Should have remembered you said to ignore PhraseDictionaryTree. FWIW, you can use std::auto_ptr from #include memory but that's set to be deprecated with C++0x. Merged your memory leak fix in a slightly different way. Also, since

Re: [Moses-support] Using Moses language models

2011-08-24 Thread Marc LEGENDRE
Thank you Kenneth, and thanks to other Moses folks for support! Marc - Mail original - De: Kenneth Heafield mo...@kheafield.com À: moses-support@mit.edu Envoyé: Mercredi 24 Août 2011 12:46:08 Objet: Re: [Moses-support] Using Moses language models You're in trunk as of 4160

Re: [Moses-support] Using Moses language models

2011-07-27 Thread Hieu Hoang
2011 20:18:21 Objet: Re: [Moses-support] Using Moses language models Hi Marc, This sounds like a simple change, so a branch is probably too much overhead. Please do one of the following: 1. Send a patch as generated by diff -rupN $old $new . Do a make clean first. 2. Attach

Re: [Moses-support] Using Moses language models

2011-07-25 Thread Marc LEGENDRE
, you know). - Mail original - De: Hieu Hoang hieuho...@gmail.com À: Kenneth Heafield mo...@kheafield.com Cc: moses-support@mit.edu Envoyé: Vendredi 22 Juillet 2011 04:50:14 Objet: Re: [Moses-support] Using Moses language models true, there's no right answer

Re: [Moses-support] Using Moses language models

2011-07-22 Thread Barry Haddow
On Friday 22 July 2011 03:50, Hieu Hoang wrote: true, there's no right answer to it. I suppose 1 goal of the trunk is to make sure that the core functionality of translating isn't affected too much, in terms of quality, speed, or memory. ANother goal is to make not to overburden the API with

Re: [Moses-support] Using Moses language models

2011-07-22 Thread Marc LEGENDRE
: Vendredi 22 Juillet 2011 04:50:14 Objet: Re: [Moses-support] Using Moses language models true, there's no right answer to it. I suppose 1 goal of the trunk is to make sure that the core functionality of translating isn't affected too much, in terms of quality, speed, or memory. ANother goal

Re: [Moses-support] Using Moses language models

2011-07-22 Thread Kenneth Heafield
- De: Hieu Hoang hieuho...@gmail.com À: Kenneth Heafield mo...@kheafield.com Cc: moses-support@mit.edu Envoyé: Vendredi 22 Juillet 2011 04:50:14 Objet: Re: [Moses-support] Using Moses language models true, there's no right answer to it. I suppose 1 goal of the trunk is to make sure

Re: [Moses-support] Using Moses language models

2011-07-21 Thread Hieu Hoang
@mit.edu Envoyé: Mercredi 13 Juillet 2011 20:53:46 Objet: Re: [Moses-support] Using Moses language models I'd suggest adding a ngram_length member to LMResult then modifying each model's wrapper (or just mine) to set that value. You're welcome to move stuff from LanguageModelKen.cpp

[Moses-support] Using Moses language models

2011-07-13 Thread Marc LEGENDRE
Hello, I am trying to use the language models loaded by Moses ; I am using a 3-gram LM, and I need to know whether it contains a given N-gram or not. I tried to play around with LanguageModelImplementation::GetValueForgotState(...), but the boolean 'unknown' in the returned structure does not

Re: [Moses-support] Using Moses language models

2011-07-13 Thread Lee Ball (Applied Language)
What format is your language model in? What software did you use to create it? You can try opening the language model using more or cat and then grep for the particular ngram you're looking for. Kind regards, Lee Ball Infrastructure Manager lee.b...@appliedlanguage.com Applied Language

Re: [Moses-support] Using Moses language models

2011-07-13 Thread Philipp Koehn
Hi, But you're asking for a third piece of information. If you query for foo bar baz and I can tell you that it will never extend to * foo bar baz for any word * (due to pruning or filtering), then you need only remember foo bar (or even less). The trie knows this but because the pointers

Re: [Moses-support] Using Moses language models

2011-07-13 Thread Kenneth Heafield
On 07/13/11 15:53, Philipp Koehn wrote: Hi, But you're asking for a third piece of information. If you query for foo bar baz and I can tell you that it will never extend to * foo bar baz for any word * (due to pruning or filtering), then you need only remember foo bar (or