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

Really minor documentation issue - custom_ner_model not available #4104

Closed
sharonwoo opened this issue Aug 12, 2019 · 2 comments
Closed

Really minor documentation issue - custom_ner_model not available #4104

sharonwoo opened this issue Aug 12, 2019 · 2 comments
Labels
docs Documentation and website

Comments

@sharonwoo
Copy link

Hello, I'm new to Spacy and trying it out. Really enjoyable stuff, thanks. Spotted one small thing working through the docs:

Which page or section is this issue related to?

URL: https://spacy.io/usage/linguistic-features

In the NAMED ENTITY EXAMPLE, this line

nlp = spacy.load("custom_ner_model")

doesn't work for me. Replacing it with the standard model "en_core_web_sm" works perfectly fine.

If I try to install it with python -m spacy download custom_ner_model, I get the error message ✘ No compatible model found for 'custom_ner_model' (spaCy v2.1.4).

@svlandeg svlandeg added the docs Documentation and website label Aug 12, 2019
@ines
Copy link
Member

ines commented Aug 12, 2019

Ah, sorry if this was confusing. The custom_ner_model in the example was supposed to mean a fictional model you've trained yourself or any model that predicts entities.

The reason we did it this way was so we could also use a "fictional" example – otherwise, the example visualization may be out-of-date (since the exact model's predictions can change in future versions). But I agree that it's not ideal and we should probably just find an example that we know the model will pretty much always get right.

@ines ines closed this as completed in e520eb3 Aug 18, 2019
@lock
Copy link

lock bot commented Sep 17, 2019

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 Sep 17, 2019
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

3 participants