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

Backward compatibility - stop_words between v1.9 and v2.0 #1512

Closed
RushiLuhar opened this issue Nov 8, 2017 · 2 comments
Closed

Backward compatibility - stop_words between v1.9 and v2.0 #1512

RushiLuhar opened this issue Nov 8, 2017 · 2 comments
Labels
docs Documentation and website

Comments

@RushiLuhar
Copy link

Minor backward compatibility issue. In spacy v1.9, the list of english stop words (set STOP_WORDS) was in spacy.en.word_sets. In spacy v2.0, the stop words have moved to spacy.lang.en.stop_words.
The move from spacy.en to spacy.lang.en has been mentioned in documents already, so this is a very minor issue.

Your Environment

Info about spaCy

  • spaCy version: 2.0.1
  • Platform: Darwin-16.7.0-x86_64-i386-64bit
  • Python version: 3.6.2
  • Models: en, en_core_web_lg
@ines ines added the docs Documentation and website label Nov 8, 2017
@ines
Copy link
Member

ines commented Nov 8, 2017

Thanks – I think we forgot about that one. Will include this, just in case users were importing this file directly etc. 👍

@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
docs Documentation and website
Projects
None yet
Development

No branches or pull requests

2 participants