mark: Mark Tokens

Description Usage Arguments Value

View source: R/search.R

Description

Marks tokens corresponding to keywords/CUI's so that they can be highlighted later.

Usage

1
mark(annotations, cui_elements)

Arguments

annotations

NLP annotation dataframe.

cui_elements

Vector of search query CUI's.

Value

Full sentence with marked tokens.


CEDARS documentation built on Feb. 7, 2021, 5:06 p.m.