Learn R Programming

quanteda (version 4.1.0)

lowercase_dictionary_values: Internal function to lowercase dictionary values

Description

Internal function to lowercase dictionary values

Usage

lowercase_dictionary_values(dict)

Arguments

dict

the dictionary whose values will be lowercased

Examples

Run this code
dict <- list(KEY1 = list(SUBKEY1 = c("A", "B"),
                          SUBKEY2 = c("C", "D")),
              KEY2 = list(SUBKEY3 = c("E", "F"),
                          SUBKEY4 = c("G", "F", "I")),
              KEY3 = list(SUBKEY5 = list(SUBKEY7 = c("J", "K")),
                          SUBKEY6 = list(SUBKEY8 = c("L"))))
quanteda:::lowercase_dictionary_values(dict)

Run the code above in your browser using DataLab