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

improve speed by turning off some options at spacy_initialize() stage #91

Closed
kbenoit opened this issue Jan 25, 2018 · 0 comments
Closed
Assignees

Comments

@kbenoit
Copy link
Collaborator

kbenoit commented Jan 25, 2018

From #90, @amatsuo wrote:

I started working on improving the speed of spacyr_parse() one thing I have tried is to provide an option to exclude ner (named entity recognition) in spacy_initialize(). If the user does not need entity this will speed up by about a third (I can put benchmark results if requested).

This sounds like a great option and could include the same named options from spacy_parse(). If a user wanted to turn on those options in spacy_parse() when they had been disabled from spacy_initialize(), we would print a brief message explaining that they needed to reinitialise spacy with the options turned on.

@amatsuo amatsuo self-assigned this Jan 25, 2018
@amatsuo amatsuo closed this as completed Jan 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants