NLTK Documentation
Installation
More
Given two numbers logx = log(x) and logy = log(y), return log(x+y). Conceptually, this is the same as returning log(2**(logx)+2**(logy)), but the actual implementation avoids overflow errors that could result from direct computation.
logx
logy
log(2**(logx)+2**(logy))