Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'PunktWordTokenizer' #1

Open
tanmoy-appsbee opened this issue Dec 29, 2017 · 1 comment
Open

ImportError: cannot import name 'PunktWordTokenizer' #1

tanmoy-appsbee opened this issue Dec 29, 2017 · 1 comment

Comments

@tanmoy-appsbee
Copy link

I am using Python version 3.4.0 and nltk version 3.2.5 but while compiling this code I am having this error "ImportError: cannot import name 'PunktWordTokenizer'" . I have downgraded my nltk version also to 3.0.2 but its showing the same error .

@sumedhkale
Copy link

sumedhkale commented Apr 4, 2018

Try 'sent_tokenize' instead. 'PuntktWordTokenizer' is just a sentence spliter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants