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

Block Spacy pipe and retry request #21

Open
AlexanderPoone opened this issue Dec 28, 2022 · 2 comments
Open

Block Spacy pipe and retry request #21

AlexanderPoone opened this issue Dec 28, 2022 · 2 comments

Comments

@AlexanderPoone
Copy link

If the fishing Spacy component encounters any HTTP error, ent._ will just return nothing and move on to the next doc.

It would be great if there is an option for the component to block the spacy pipeline if there are HTTP errors, and retry the request until it succeeds. Thanks!

@AlexanderPoone
Copy link
Author

image

e.g., "Joe Biden" 's P27 is missing, unlike Graeme Swann

@AlexanderPoone
Copy link
Author

batchsize is already 1 in nlp.pipe

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

1 participant