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

Example in "Annotation specifications" docs throws TypeError #271

Closed
jimmycallin opened this issue Feb 22, 2016 · 2 comments
Closed

Example in "Annotation specifications" docs throws TypeError #271

jimmycallin opened this issue Feb 22, 2016 · 2 comments
Labels
docs Documentation and website

Comments

@jimmycallin
Copy link

This example from Annotations Specifications under Tokenization throws TypeError:

from spacy.en import English
nlp = English(parse=False)
tokens = nlp('Some\nspaces  and\ttab characters')
print([t.orth_ for t in tokens])

TypeError: __init__() got an unexpected keyword argument 'parse'

I'm assuming it should be parser=False?

@honnibal honnibal added the docs Documentation and website label Feb 22, 2016
@honnibal
Copy link
Member

Thanks, will fix.

@lock
Copy link

lock bot commented May 9, 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 9, 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

3 participants