Re: [Moses-support] Are the numbers in the phrase-table.gz probabilities or log prob?

2016-10-12 Thread Nat Gillin
Dear Phi, Thanks for the note on the weights and the prob vs log prob! Regards, Nat On Thu, Oct 13, 2016 at 5:17 AM, Philipp Koehn wrote: > Hi, > > the numbers in the (text) phrase table are raw probability, but Moses > internally uses log-probabilites, so the weights are used as: > >weigh

Re: [Moses-support] Are the numbers in the phrase-table.gz probabilities or log prob?

2016-10-12 Thread Philipp Koehn
Hi, the numbers in the (text) phrase table are raw probability, but Moses internally uses log-probabilites, so the weights are used as: weight * log(phrase-table-prob) which is equivalent to log( phrase-table-prob ^ weight) -phi On Wed, Oct 12, 2016 at 5:59 AM, Nat Gillin wrote: > De

Re: [Moses-support] Are the numbers in the phrase-table.gz probabilities or log prob?

2016-10-12 Thread Nat Gillin
Dear Moses community, One more question on the numbers in the phrase-table and moses.ini. Assuming that the numbers in the phrase-table are probabilities (not yet log) If i were to multiply the weights from moses.ini to the phrase-table, would it be: log(weight * phrase-tabe-prob) or weight *