[bug] CrossSentenceMention
needs start and end character offsets
#2
Labels
bug
Something isn't working
CrossSentenceMention
needs start and end character offsets
#2
Character start and end offsets for CrossSentenceMentions can't be retrieved in a straightforward manner from the Odin Mention JSON we receive from clulab/processors:
clu-processors/python/lum/clu/odin/serialization.py
Line 103 in 11970d5
This is because a cross sentence mention involved multiple token intervals.
Proposed solution
mjson.get("characterStartOffset", None)
andmjson.get("characterEndOffset", None)
clu-processors/python/lum/clu/odin/serialization.py
Lines 215 to 216 in 11970d5
The text was updated successfully, but these errors were encountered: