lemma_match: Match Lemmas to Regex Keywords

View source: R/search.R

lemma_matchR Documentation

Match Lemmas to Regex Keywords

Description

Matches lemmas in NLP annotations to keywords, considering Regex syntax.

Usage

lemma_match(annotations, keyword_elements)

Arguments

annotations

Patient-specific NLP annotations.

keyword_elements

Keywords with Regex syntax.

Value

Annotations dataframe with one extra column.


simon-hans/CEDARS documentation built on Feb. 14, 2024, 3:16 a.m.