Commit 53d66465 by Ilia Kurenkov

removed unused teardown function

parent e1ba28c2
...@@ -273,11 +273,6 @@ class NgramModel(ModelI): ...@@ -273,11 +273,6 @@ class NgramModel(ModelI):
def __repr__(self): def __repr__(self):
return '<NgramModel with %d %d-grams>' % (len(self._ngrams), self._n) return '<NgramModel with %d %d-grams>' % (len(self._ngrams), self._n)
def teardown_module(module=None):
from nltk.corpus import brown
brown._unload()
if __name__ == "__main__": if __name__ == "__main__":
import doctest import doctest
doctest.testmod(optionflags=doctest.NORMALIZE_WHITESPACE) doctest.testmod(optionflags=doctest.NORMALIZE_WHITESPACE)
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