find_overlapping_codes {textAnnotatoR} | R Documentation |
Find overlapping code annotations
Description
Identifies pairs of annotations that overlap in the text and returns their intersection points and associated codes.
Usage
find_overlapping_codes(annotations)
Arguments
annotations |
A data frame containing text annotations with columns:
|
Value
A list of overlapping code pairs, each containing:
code1: first code in the overlap
code2: second code in the overlap
overlap_start: starting position of overlap
overlap_end: ending position of overlap
[Package textAnnotatoR version 0.1.4 Index]