entity_metadata: Grab Entity Metadata
Description
This function builds the metadata based on position.
Usage
entity_metadata(phrase, p_offset, df)
Arguments
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.