Skip to content
Discussion options

You must be logged in to vote

Hi @shrinidhin , can you provide a more complete example so we can see what's going on? It's still difficult to pinpoint where the problem is from the sample code. Perhaps, one thing you can try is do span.as_doc() for the sentence spans, then obtain the entities to get the offsets you want. That might give you the correct indices.

Replies: 1 comment 5 replies

Comment options

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

@ljvmiranda921
Comment options

@shrinidhin
Comment options

@ljvmiranda921
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 / doc Feature: Doc, Span and Token objects
2 participants