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 in
>  specific implementations like Ken.h/cpp could I find where it refers to
> LanguageModelImplementation. Is it still used at all?
> 
> By the way, 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 and LanguageModelImplementation
> > classes. It used to call method GetLMImplementation of an object of type
> > LanguageModel, in order to use methods NewState and GetValueForgotState
> > of class LanguageModelImplementation. That was in august. Unfortunatelly,
> > now I've pulled a new version of Moses from git, and method
> > GetLMImplementation seems to have vanished. Methods NewState and
> > GetValueForgotState seems to still be implemented in class
> > LanguageModelImplementation. Now I can get the LM using:
> >
> >   TranslationSystem ts =
> > StaticData::Instance().GetTranslationSystem(std::string("default"));
> > LMList list = ts.GetLanguageModels();
> >   LanguageModel *lm = *(list.begin());
> >
> > But I could not find a way to get the LanguageModelImplementation object
> > in order to call aforementioned method. Do you have an idea of what I
> > should change in the code?
> >
> > 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.
> >
> > regards,
> >
> > Sylvain
> > _______________________________________________
> > Moses-support mailing list
> > Moses-support@mit.edu
> > http://mailman.mit.edu/mailman/listinfo/moses-support
> 
 
--
Barry Haddow
University of Edinburgh
+44 (0) 131 651 3173

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to