nltk.KneserNeyProbDist.set_discount

KneserNeyProbDist.set_discount(discount)[source]

Set the value by which counts are discounted to the value of discount.

Parameters:discount (float (preferred, but int possible)) – the new value to discount counts by
Return type:None