Skip to content
Discussion options

You must be logged in to vote

Sorry you're having trouble with this, you might find it helpful to look at the spancat example project for reference.

So I am trying to add the initialize.component.spancat and initialize.component.spancat.labels to the config file, but I couldn't find a source on how to generate the spancat.json file.

The file is just a JSON list of labels, like ["red", "green", "blue"]. However normally you don't need the file unless you're using a streaming corpus or something. It could possibly be an issue if your annotations aren't being picked up for some reason.

Are you sure you need an NER component in addition to a spancat component? In the linked issue the user just asked if it was possible t…

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@akdanwlf
Comment options

@polm
Comment options

@steve-solun
Comment options

@rmitsch
Comment options

@steve-solun
Comment options

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