cogcomp-nlp icon indicating copy to clipboard operation
cogcomp-nlp copied to clipboard

TextAnnotation: Functionality to convert document level offset to sentence-level offset

Open danyaljj opened this issue 7 years ago • 0 comments

@nitishgupta suggested that we add a functionality to TextAnnotation to convert document-level offsets (say constituent start or end) to sentence-level offset (i.e., what is its order from the beginning of the sentence).

@mssammon any suggestions?

danyaljj avatar Apr 26 '18 19:04 danyaljj