Hi, since this is a frequently asked question, I finally got around to writing up a section for it: http://www.statmt.org/mosesdev/?n=Moses.AdvancedFeatures#ntoc15
-phi On Fri, Feb 6, 2009 at 8:08 AM, Nicola Bertoldi <[email protected]> wrote: > Hi Lane > > > this is what Philip answered some time ago about your question. > > best > Nicola > > Hi, > > there are two choices, when a phrase pair is used > (a) it is scored by both phrase tables, and needs to exist in both > phrase tables > (b) it is taken from either of the two phrase tables (and scored only > with those scores) > > Here is how it's done: > > (1) define both tables in the section [ttable-file] > > [ttable-file] > 0 0 5 /my-dir/table1 > 0 0 5 /my-dir/table2 > > (2) set the appropriate number of weights in [weight-t] > --- in our example that would be 10 weights > > (3) specify the use of the tables in [mapping] > > (a) scoring with both tables: > > [mapping] > T 0 > T 1 > > (b) scoring with either table: > > [mapping] > 0 T 0 > 1 T 1 > > Note: the number before "T" defines a decoding path, > so here are two different decoding paths specified. > > -phi > > > >> Dear experts, >> In my experiments, I need to use more than 1 phrase tables. >> I have read in some previous posts that Moses can use them. >> I do not really understand what it happens when the decoder finds >> the same >> phrase pair in both tables. >> How does it combine the conditional probabilities? Does it add one >> more >> element to the loglinear models? >> Thanks a lot >> Marco >> > > ------------------------ > > > On Feb 5, 2009, at 10:33 PM, Lane Schwartz wrote: > >> Is there a way to specify more than one phrase table for moses to >> load? >> >> Thanks, >> Lane >> >> _______________________________________________ >> 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 > _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
