Skip to content
Discussion options

You must be logged in to vote

NER is only for contiguous spans of text. So you can't get output like you want using IOB labels or the NER model (or matcher) alone.

What you can do is annotate the whole span of interest (Nifty ... indices) and then use post-processing to manually convert that string to the strings you want. The grammatical structure in your example is known as "coordination" and is pretty complicated, but if you focus on a few kinds of examples you want to deal with you may be able to handle it using dependency information.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@shrinidhin
Comment options

@polm
Comment options

@shrinidhin
Comment options

@polm
Comment options

@shrinidhin
Comment options

Answer selected by shrinidhin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / ner Feature: Named Entity Recognizer
2 participants