nltk.KneserNeyProbDist.__init__¶
-
KneserNeyProbDist.
__init__
(freqdist, bins=None, discount=0.75)[source]¶ Parameters: - freqdist (FreqDist) – The trigram frequency distribution upon which to base the estimation
- bins (int or float) – Included for compatibility with nltk.tag.hmm
- discount (float (preferred, but can be set to int)) – The discount applied when retrieving counts of trigrams