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

is_stop function returns False for all values under en_core_web_md model #1121

Closed
JherezTaylor opened this issue Jun 11, 2017 · 3 comments
Closed

Comments

@JherezTaylor
Copy link

model name: core_web_md
model version: 1.2.1

nlp = spacy.load('en_core_web_md')
nlp.vocab[u'is'].is_stop
False

The en_core_web_md throws False for all stop words that I test with. However, loading the en model as follows gives the correct result.

nlp = spacy.load('en')
nlp.vocab[u'is'].is_stop
True

Your Environment

  • spaCy version: 1.8.2
  • Installed models: en_vectors_glove_md, en, en_core_web_md
  • Python version: 3.5.3
  • Platform: Linux-4.10.1-041001-generic-x86_64-with-Ubuntu-17.04-zesty
@sadovnychyi
Copy link
Contributor

#922 – there's a workaround for that.

@JherezTaylor
Copy link
Author

Closing as per #922

@lock
Copy link

lock bot commented May 8, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants