umls_processor: Tag Tokens With UMLS Concepts

Description Usage Arguments Value

View source: R/UMLS_processor.R

Description

Main processor for matching to UMLS concepts.

Usage

1
umls_processor(annotated_text, umls_selected, max_n_grams_length)

Arguments

annotated_text

Dataframe of NLP annotations.

umls_selected

UMLS dictionary.

max_n_grams_length

Maximum length of tokens for matching with UMLS concept unique identifiers (CUI's). Shorter values will result in faster processing. If ) is chosen, UMLS CUI tags will not be provided.

Value

Dataframe of NLP annotations with added UMLS tags.


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