John Morgan <j.morgan6@...> writes:

> 
> Hello,
> I guess this is a question for Rico.
> I'm getting a"math domain error" when I use tmcombine.py.
> It looks like the problem is on line 817.
> Apparently, I have a value of features[i] that is 0 and an attempt is made to
take its log.
> I've used tmcombine.py successfully (I guess) several times and never had this
problem.
> Could you help me figure out why I'm getting this error.
> Thanks,
> John 
> 

Hi John,

I silenced the error. A 0 probability could indicate a misconfiguration on the
model side though - I recently saw the error when I had a mismatch between the
phrase table and the lexical tables. It may be worth rechecking this.

-
Rico

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to