... or simply prune the phrase table prior to decoding (this will naturally mess-up the weights; the correct thing to do is to run MERT using just the subset of selected phrases --feature values eg P(e | f) will also need changing too)
Miles 2008/8/4 Hieu Hoang <[EMAIL PROTECTED]> > hey sanne > > there's nothing exactly like this feature in moses (or pharaoh) but it's > probably similar to the constraint decoding which was recently implmeneted > in moses by Lane Schwartz. > > you may want to implement it in a similar way > > ------------------------------ > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Sanne Korzec > *Sent:* 04 August 2008 16:24 > *To:* [email protected] > *Subject:* [Moses-support] decoding: reordering only > > Hi mailing, > > > > Is there a way to force the moses or pharaoh decoder, to use a certain set > of phrases. > > > > I want the decoder to only reorder the phrases that are pre-selected by > some other process I created myself. > > > > Basically, this is a simple reordering task of words/phrases… > > > > Here is an example of what I would like: > > > > A foreign sentence: > > De hond loopt. > > > > Force decoder to use the set: > > [walking the dog is .] > > > > decoder output: > > the dog is walking . > > > > > > Regards, > > Sanne > > > > > > _______________________________________________ > 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.
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
