Comments (5)
What is your nltk
version?
$ python3
>>> import nltk
>>> print (nltk.__version__)
Try upgrading the NLTK version using:
pip install -U nltk
Perhaps this might help too: https://gist.github.com/alvations/0ed8641d7d2e1941b9f9
After upgrading the NLTK version, you should see:
$ python -m nltk.downloader averaged_perceptron_tagger
[nltk_data] Downloading package averaged_perceptron_tagger to
[nltk_data] /Users/liling.tan/nltk_data...
[nltk_data] Package averaged_perceptron_tagger is already up-to-
[nltk_data] date!
Do get back if any of the above has helped you to fix the error! =)
from pywsd.
If you're still having problems with the NLTK data, please take a look at https://stackoverflow.com/questions/22211525/how-do-i-download-nltk-data
from pywsd.
upgrading nlkt and downloading resources work!
from pywsd.
upgrading nlkt Didn't work for me. getting this error: [nltk_data] Error loading averaged_perceptron_tagger: <urlopen error
[nltk_data] [WinError 10054] An existing connection was forcibly
[nltk_data] closed by the remote host>
Please help
from pywsd.
python -m nltk.downloader averaged_perceptron_tagger
Thank you alvations ! it works
( $ python -m nltk.downloader averaged_perceptron_tagger
[nltk_data] Downloading package averaged_perceptron_tagger to
[nltk_data] /Users/liling.tan/nltk_data...
[nltk_data] Package averaged_perceptron_tagger is already up-to-
[nltk_data] date! )
from pywsd.
Related Issues (20)
- Link in Maximizing Similarity in README.md Showing an Error HOT 2
- Maxsimiliarity Algorithm HOT 1
- Using wup_similarity on simple_lesk output HOT 2
- pos mismatch breaks similiarity
- pywsd correctly installed but get error when import (python 3) HOT 2
- simple_lesk bug HOT 1
- disambiguate bug HOT 7
- IndexError when using disambiguate() with maxsim algorithm HOT 2
- Using signatures computed using wordNet 3.0
- Support for other languages
- Notice: please pin wn dependency HOT 2
- version inconsistency (GitHub vs. PyPI)
- hit ImportError: cannot import name 'WordNet' from 'wn' HOT 8
- Proposing a PR to fix a few small typos
- Proposing a PR to fix a few small typos
- partially disambiguated sentence
- PyWSD with `wn` HOT 1
- Cached signatures could be replaced by json to improve performance
- ModuleNotFoundError: No module named 'BeautifulSoup'
- wrong repo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pywsd.