Relative Content

Tag Archive for pythonnltkwordnet

Cannot install nltk without wordnet and cannot install wordnet without nltk

>>>import nltk Traceback (most recent call last): File “D:projectLibsite-packagesnltkcorpusutil.py”, line 84, in __load root = nltk.data.find(f”{self.subdir}/{zip_name}”) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “D:projectLibsite-packagesnltkdata.py”, line 579, in find raise LookupError(resource_not_found LookupError: ********************************************************************** Resource wordnet not found. Please use the NLTK Downloader to obtain the resource: >>> import nltk >>> nltk.download(‘wordnet’) For more information see: https://www.nltk.org/data.html Attempted to load corpora/wordnet.zip/wordnet/ Searched […]