Skip to content
Discussion options

You must be logged in to vote

There's a technical detail related to where the threshold is stored that may be confusing. For historical reasons (as a carry-over from v2), a few settings end up duplicated between the top-level config.cfg and spancat's internal .cfg, and at runtime only the internal spancat value is used.

If you're going to change this I'd recommend changing both so it's less confusing overall, but the value that is used at runtime is the one in spancat/cfg / nlp.get_pipe("spancat").cfg["threshold"].

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by smisra1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / spancat Feature: Span Categorizer
3 participants