Load corpus

cl_load_corpus(corpus, registry = Sys.getenv("CORPUS_REGISTRY"))

Arguments

corpus

A length-one character vector with the corpus ID.

registry

A length-one character vector with the registry directory.

Value

TRUE if corpus could be loaded and FALSE if not.

Examples

cl_load_corpus("REUTERS")
#> [1] TRUE