umls_processor: Tag Tokens With UMLS Concepts

View source: R/UMLS_processor.R

umls_processorR Documentation

Tag Tokens With UMLS Concepts

Description

Main processor for matching to UMLS concepts.

Usage

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.


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