createCorpus: Create a Corpus

Description Usage Arguments Examples

View source: R/createCorpus.R

Description

This function creates a quanteda corpus

Usage

1
2
createCorpus(path_to_corpus, remove_whitespaces = TRUE,
  lowercase = TRUE, remove_punctuation = TRUE)

Arguments

path_to_corpus

path to the corpus directory

remove_whitespaces

determines if whitespaces should be removed, default = TRUE

lowercase

determines if all cases should be turned into lowercase, default = TRUE

remove_punctuation

determines if all punctuation characters should be removed, default = TRUE

Examples

1

jbrottrager/stylcoR documentation built on Jan. 29, 2020, 3:34 p.m.