diff --git a/CHANGE.md b/CHANGE.md index ca39631..5f0baef 100755 --- a/CHANGE.md +++ b/CHANGE.md @@ -1,6 +1,13 @@ NLPAUG Change Log ================ +**0.0.18 Aug 21, 2020 +* Fix PPDB model misloaded nltk module[#144](https://github.com/makcedward/nlpaug/issues/144) + +**0.0.17 Aug 20, 2020 +* Enhance default tokenizer and reverse tokenizer[#143](https://github.com/makcedward/nlpaug/issues/143) +* Introduce Abstractive Summarization in sentence ausgmenter (Check out example from [here](https://github.com/makcedward/nlpaug/blob/master/example/textual_augmenter.ipynb)) + **0.0.16 Aug 10, 2020 * Fix [#142](https://github.com/makcedward/nlpaug/issues/142) diff --git a/README.md b/README.md index 7bc9c6a..45c7ea1 100755 --- a/README.md +++ b/README.md @@ -129,9 +129,8 @@ pip install librosa>=0.7.1 ## Recent Changes -**0.0.17dev -* Enhance default tokenizer and reverse tokenizer[#143](https://github.com/makcedward/nlpaug/issues/143) -* Introduce Abstractive Summarization in sentence ausgmenter (Check out example from [here](https://github.com/makcedward/nlpaug/blob/master/example/textual_augmenter.ipynb)) +**0.0.18 Aug 21, 2020 +* Fix PPDB model misloaded nltk module[#144](https://github.com/makcedward/nlpaug/issues/144) See [changelog](https://github.com/makcedward/nlpaug/blob/master/CHANGE.md) for more details. diff --git a/nlpaug/model/word_dict/ppdb.py b/nlpaug/model/word_dict/ppdb.py index d443332..e7daaae 100755 --- a/nlpaug/model/word_dict/ppdb.py +++ b/nlpaug/model/word_dict/ppdb.py @@ -20,11 +20,6 @@ def __init__(self, dict_path): self.score_threshold = self.get_default_score_thresholds() # TODO: support other filtering self.is_synonym = True # TODO: antonyms - try: - import wordnet - except ModuleNotFoundError: - raise ModuleNotFoundError('Missed nltk library. Install it via `pip install nltk`') - self._init() def _init(self):