token_splitter: Split a Token

Description Usage Arguments Value

View source: R/dictionaries.R

Description

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

Usage

1
token_splitter(i, df, max_grams)

Arguments

i

Iteration number, i.e. row number withint 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).


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