This repository has been archived by the owner. It is now read-only.

NLTK 2.0.2. #1

Merged
merged 1 commit into from Sep 10, 2012
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Split
View
@@ -18,7 +18,7 @@ def __init__(self, dataset, capitalize=False):
self.words = words
self.model = nltk.Text(words)
estimator = lambda fdist, bins: LidstoneProbDist(fdist, 0.2)
- self._ngram_model = NgramModel(2, self.model, estimator)
+ self._ngram_model = NgramModel(2, self.model, estimator=estimator)
def raw_words(self, length=100):
"""Generates a list of words using an NLTK NgramModel."""
View
@@ -2,7 +2,7 @@ PyYAML==3.10
distribute==0.6.24
hiredis==0.1.1
httplib2==0.7.4
-nltk==2.0.1rc4
+nltk==2.0.2
oauth2==1.5.211
python-twitter==0.8.2
redis==2.4.12