Hi Dorra, It sounds like PhraseDictionaryGroup is probably the best fit for your task. If you have 2 phrase tables (A and B), each translation will get a full set of scores from A and a full set of scores from B. If a translation is in A but not B, B's scores will be filled in with zeros. Since this can lead to unwanted behavior, you can specify "default-average-others=true" to fill in B's scores by copying A's scores (effectively having B abstain from weighing in on translations it doesn't know anything about). If a translation is in B but not A, A's scores are zeroed or filled in from B.
Best, Michael On Wed, Feb 24, 2016 at 7:42 PM, <[email protected]> wrote: > Hi, > > I trained a translation model and I want to add this new model to the > phrase > based model inside moses in such a way that the decoder will search for > possible translations in the translation tables and give them scores > coming > from the tables. > If a translation option exists in one table but not in the other table, I > would like this option to be suggested by the decoder. > > In moses, there is options to combine several translation tables > (http://www.statmt.org/moses/?n=Advanced.Models#ntoc7). > I'm not sure I understand the difference between these options. > > The both option suggests only the options that appear in all the tables. > So options that exist in one table and not in the others, will not be > proposed. > > The either option suggests only options existing in one table and not in > the other tables and add extra information from other tables. However, > it's not clear how adding extra information is done? > > The PhraseDictionaryGroup option suggests that I can use any option in > either table, but all options are scored by all tables. However, when an > option doesn't exist in one table, how it's scored by this table? > > > I'm a little confused. Could you help me understand the difference between > these options? > > Thank you, > Dorra > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
