there's a class called SkeletonPt which is a very simple phrase table implementation. You can make a copy of that and make any changes to it.
I've created a video that tell you how to add new feature functions. http://www.statmt.org/~s0565741/download/video/ adding a new phrase table is pretty much the same thing On 30 October 2013 13:17, Barry Haddow <[email protected]> wrote: > Hi James > > Start off in the moses/TranslationModel subdirectory of the source tree. > PhraseDictionary.h contains the abstract base class, > with PhraseDictionaryMemory and PhraseDictionaryTreeAdaptor the two main > implementations used in phrase-based Moses, > > cheers - Barry > > On 30/10/13 12:11, Read, James C wrote: > > Thanks. Sooner or later I'm going to need to figure out which parts of > the code handle the TM because in addition to isolating the TM I also wish > to make some experiments with modifying the way the TM works. > > > > James > > > > ________________________________________ > > From: Barry Haddow [[email protected]] > > Sent: 30 October 2013 09:28 > > To: Read, James C > > Cc: [email protected] > > Subject: Re: [Moses-support] TM only > > > > Hi James > > > > You can configure the features in moses.ini. Try leaving out the > > language model and see what happens, > > > > cheers - Barry > > > > On 29/10/13 22:26, Read, James C wrote: > >> Hi, > >> > >> for experimental purposes I'm trying to modify the source of Moses so > that it uses a TM only (no LM and no reordering). Does anybody know the > source code well enough to give me a hint where I should start? > >> > >> thanks, > >> James > >> > >> _______________________________________________ > >> Moses-support mailing list > >> [email protected] > >> http://mailman.mit.edu/mailman/listinfo/moses-support > >> > > > > -- > > The University of Edinburgh is a charitable body, registered in > > Scotland, with registration number SC005336. > > > > > > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > -- Hieu Hoang Research Associate University of Edinburgh http://www.hoang.co.uk/hieu
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
