entity_metadata: Grab Entity Metadata

View source: R/utils.R

entity_metadataR Documentation

Grab Entity Metadata

Description

This function builds the metadata based on position.

Usage

entity_metadata(phrase, p_offset, df)

Arguments

phrase

Text of interest.

p_offset

Start position of text within greater document.

df

data.frame with position and length of found medication entities

Value

data.frame with found medication entities and accompanying metadata.


medExtractR documentation built on June 7, 2022, 1:08 a.m.