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:

  • start: numeric, starting position of annotation

  • end: numeric, ending position of annotation

  • code: character, code applied to the annotation

Value

A list of overlapping code pairs, each containing:


[Package textAnnotatoR version 0.1.4 Index]