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

Token.set_extension parameter force is not documented #4148

Closed
johann-petrak opened this issue Aug 19, 2019 · 4 comments
Closed

Token.set_extension parameter force is not documented #4148

johann-petrak opened this issue Aug 19, 2019 · 4 comments
Labels
docs Documentation and website

Comments

@johann-petrak
Copy link

The function Token.set_extension has a kw parameter force which can be set to True, but the documentation here https://spacy.io/api/token
does not document it. The python documentation string does include the info though.
I am not sure why the information on the web "API" documentation pages differs from what is actually present in the Python code?

@honnibal
Copy link
Member

I am not sure why the information on the web "API" documentation pages differs from what is actually present in the Python code?

No interesting reason --- just an oversight. We'll fix it thanks.

@honnibal honnibal added the docs Documentation and website label Aug 19, 2019
@ines ines closed this as completed in ce4c3e5 Aug 19, 2019
@honnibal
Copy link
Member

The docs are pretty easy to edit if you want to make a PR next time: ce4c3e5

@johann-petrak
Copy link
Author

Thanks! I was just assuming those tables would get generated automatically :)

@lock
Copy link

lock bot commented Sep 18, 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 18, 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

2 participants