IndexError: [E035] Error creating span with start 2 and end 1 for Doc of length 8. #13101
farukalamai
started this conversation in
Help: Best practices
Replies: 1 comment
-
Your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Traceback (most recent call last):
File "/home/user/Downloads/document-scanner-app-with-ocr-ner/5. Improve Model Performance/preprocess.py", line 18, in
span = doc.char_span(start, end, label=label)
File "spacy/tokens/doc.pyx", line 601, in spacy.tokens.doc.Doc.char_span
File "spacy/tokens/span.pyx", line 102, in spacy.tokens.span.Span.cinit
IndexError: [E035] Error creating span with start 2 and end 1 for Doc of length 8.
Beta Was this translation helpful? Give feedback.
All reactions