nltk.ImmutableProbabilisticMixIn

class nltk.ImmutableProbabilisticMixIn(**kwargs)[source]

Methods

__init__(**kwargs) Initialize this object’s probability.
logprob() Return log(p), where p is the probability associated with this object.
prob() Return the probability associated with this object.
set_logprob(prob)
set_prob(prob)