analyze_code_context {textAnnotatoR} | R Documentation |
Analyze context around code applications
Description
Examines the surrounding context where codes are applied by looking at preceding and following annotations to understand code relationships.
Usage
analyze_code_context(code_anns, all_anns)
Arguments
code_anns |
Data frame containing annotations for specific code:
|
all_anns |
Data frame containing all annotations in the text |
Value
List of contexts for each code instance:
before: Preceding annotation if exists
after: Following annotation if exists
[Package textAnnotatoR version 0.1.4 Index]