token_splitter: Split a Token

View source: R/dictionaries.R

token_splitterR Documentation

Split a Token

Description

Splits a token in its different grams and outputs. Processes one row from the UMLS MRCONSO file at a time.

Usage

token_splitter(i, df, max_grams)

Arguments

i

Iteration number, i.e. row number within MRCONSO.

df

MRCONSO dataframe.

max_grams

Maximum length of token in grams.

Value

A list which includes the original data for one UMLS concept unique identifier (CUI).


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