Commit 5091db31 by Ilia Kurenkov

updated _estimator func

parent baf35701
......@@ -22,11 +22,11 @@ from nltk import compat
def _estimator(fdist, *estimator_args, **estimator_kwargs):
"""
Default estimator function using a SimpleGoodTuringProbDist.
Default estimator function using a LidstoneProbDist.
"""
# can't be an instance method of NgramModel as they
# can't be pickled either.
return LidstoneProbDist(fdist, *estimator_args, **estimator_kwargs)
return LidstoneProbDist(fdist, 0.001, *estimator_args, **estimator_kwargs)
@compat.python_2_unicode_compatible
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment