[W030] Some entities could not be aligned in the text #13534
Answered
by
svlandeg
NitGS
asked this question in
Help: Coding & Implementations
-
Hi!
And the error generated is this. :
The entity "India" starts from index 11 and ends at 15, yet spaCy doesn't recognise that it's a token. Any help is appreciated.
|
Beta Was this translation helpful? Give feedback.
Answered by
svlandeg
Jun 19, 2024
Replies: 1 comment
-
Hi! The end offset is exclusive, so you should be using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
svlandeg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! The end offset is exclusive, so you should be using
11
and16
as indices to define the token"India"
.