Closed patrick-fitzgerald closed 1 year ago
Ah interesting! Thanks! Maybe we can do isize
for start
and end
just for uniformity?
Yes that's a good idea, I'm seeing negative numbers for both:
"annotations": [
{
"start": 80,
"end": 87,
"probability": 0.8988,
"type": "Organization",
"normalized_text": "Scotland"
},
{
"start": -1,
"end": -2,
"probability": 0.9195,
"type": "Place",
"normalized_text": "��,🏴�"
}
]
AnnotationEntity
start
is set to be ausize
, but I've seenstart
being returned as-1
This fix is to convertstart
to anisize
.