nltk.ProbabilisticMixIn.__init__¶
-
ProbabilisticMixIn.
__init__
(**kwargs)[source]¶ Initialize this object’s probability. This initializer should be called by subclass constructors.
prob
should generally be the first argument for those constructors.Parameters: - prob (float) – The probability associated with the object.
- logprob (float) – The log of the probability associated with the object.