WordNetCorpusReader’ object has no attribute ‘_LazyCorpusLoader__args’ in nltk
WordNetCorpusReader’ object has no attribute ‘_LazyCorpusLoader__args’ I have this error in Python nltk libray whenever i try to upload a document and try to find acronyms and English words from it (wordnet). I tries reinstalling nltk libray. But still not working… python nltk wordnet 2
Unable to install wordnet with nltk 3.9.0 as importing nltk requires installed wordnet
It is not possible to import nltk, and the solution given by the output required me to import nltk:
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 […]