Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Jul 24, 2024
1 parent 9caa293 commit 56c0e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gilda/ner.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def annotate(
namespaces=namespaces)
if matches:
start_coord = sent_start + raw_word_coords[idx][0]
end_coord = sent_end + raw_word_coords[idx+span-1][1]
end_coord = sent_start + raw_word_coords[idx+span-1][1]
annotations.append(Annotation(
raw_span, matches, start_coord, end_coord
))
Expand Down

0 comments on commit 56c0e61

Please sign in to comment.