Re: [Moses-support] GetLMImplementation function

2012-02-08 Thread Sylvain Raybaud
On Tuesday 07 February 2012 14:03:43 Barry Haddow wrote: > Hi Sylvain > > I've updated the doxygen docs, if that helps, > It does, thank you! some things still seem to be missing though. for example, I could not find LanguageModelKen in class list. cheers, Sylvain > cheers - Barry > > On Tu

Re: [Moses-support] GetLMImplementation function

2012-02-08 Thread Barry Haddow
Hi Sylvain That part of the code is in a conditional compilation block, which is only compiled when OLRM is switched on. I don't know how to switch it on using bjam, but it looks like the LM refactoring broke it, cheers - Barry On Wednesday 08 February 2012 17:08:48 Sylvain Raybaud wrote: > Hi

Re: [Moses-support] GetLMImplementation function

2012-02-08 Thread Sylvain Raybaud
Hi It looks strange, since its calling LanguageModelORLM::GetLMImplementation which does not seem to be part of class LanguageModelORLM as defined in ORLM.h, nor in classes in inherits from. How do you compile it using bjam? I could not find out. regards, Sylvain On Tuesday 07 February

Re: [Moses-support] GetLMImplementation function

2012-02-07 Thread Sylvain Raybaud
Hi Kenneth Thank you for this detailed answer. I'll try to make it work using m_gram functionnality, since the features I'm computing only make sense for n-gram models. I let you know if it worked. Thanks again! Sylvain On Tuesday 07 February 2012 10:17:26 Kenneth Heafield wrote: > Hi, > >

Re: [Moses-support] GetLMImplementation function

2012-02-07 Thread Kenneth Heafield
Hi, Moses server wants to keep one copy of a language model even if it has different feature weights. The problem is that StatefulFeatureFunction knows its own weight (a design I disagree with), so it can't just keep one StatefulFeatureFunction. LanguageModel is a child of Sta

Re: [Moses-support] GetLMImplementation function

2012-02-07 Thread Barry Haddow
Hi Sylvain I've updated 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 or i

Re: [Moses-support] GetLMImplementation function

2012-02-07 Thread Hieu Hoang
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, but nowhere in Base.h/cpp or in specif

Re: [Moses-support] GetLMImplementation function

2012-02-07 Thread Sylvain Raybaud
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 to LanguageModelImplementation. Is it still used at all? By the way,

Re: [Moses-support] GetLMImplementation function

2012-02-06 Thread Barry Haddow
> By the way, documentation on > http://www.statmt.org/moses/html/hierarchy.html seems to be obsolete, as > it seems to be lacking many files, classes and functions. > Thanks for pointing that out - it's still running from sourceforge svn, which is y why it's out-of-date. I'll try to get it s

[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 clas