Skip to content
Discussion options

You must be logged in to vote

Sorry, this does sound a lot more frustrating than we'd like it to be!

We just updated the docs in #12464 to clarify that doc.spans[spans_key] gets overwritten by spancat . I think there are potentially a lot of edge cases related to merging span groups, so we'd rather leave combining spans up to the user.

It sounds like one of the issues is that that prodigy always uses the default key sc. I only checked briefly, but it doesn't look like it's possible to configure this with prodigy data-to-spacy. It might make sense to add this as a feature request for prodigy.

On the spacy train side of things it's possible to configure a custom spans key, but getting all the config details correct is a…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@b2m
Comment options

@b2m
Comment options

Answer selected by b2m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / spancat Feature: Span Categorizer
2 participants