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

Fix spancat for empty docs and zero suggestions #9654

Merged
merged 2 commits into from
Nov 15, 2021

Conversation

adrianeboyd
Copy link
Contributor

Description

Fix spancat for empty docs and zero suggestions

Types of change

Bug fix.

Checklist

  • I confirm that I have the right to submit this contribution under the project's MIT license.
  • I ran the tests, and all new and existing tests passed.
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

@adrianeboyd adrianeboyd added bug Bugs and behaviour differing from documentation feat / spancat Feature: Span Categorizer labels Nov 10, 2021
@svlandeg svlandeg merged commit c9baf9d into explosion:master Nov 15, 2021
polm pushed a commit to polm/spaCy that referenced this pull request Nov 28, 2021
* Fix spancat for empty docs and zero suggestions

* Use ops.xp.zeros in test
adrianeboyd added a commit to adrianeboyd/spaCy that referenced this pull request Feb 22, 2022
* Fix spancat for empty docs and zero suggestions

* Use ops.xp.zeros in test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs and behaviour differing from documentation feat / spancat Feature: Span Categorizer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants