Compute a function list from the codes df of a corpus.list object
add_functions_list_to_corpus.Rd
Compute a function list from the codes df of a corpus.list object
Usage
add_functions_list_to_corpus(
corpus,
lang_dictionnary,
.verbose = F,
sep = " ",
fn_to_exclude = NULL
)
Arguments
- corpus
A
corpus.list
object with at least the 'codes' dataframe- lang_dictionnary
list
A language patterns dictionnary specific to one language- .verbose
logical
, default =FALSE
. If set toTRUE
, show a progress bar when extracting content- sep
character
, default =' '
A character chain of separator, in order to concatenate lines- fn_to_exclude
character
A vector of values that will not be returned such as a match.