createFreqTable: Create a Frequency Table

Description Usage Arguments Examples

View source: R/createFreqDist.R

Description

This function creates a distance table by combining several functions

Usage

1
2
createFreqTable(path_to_corpus, remove_whitespaces = TRUE,
  lowercase = TRUE, remove_punctuation = TRUE, n_gram_size = 1)

Arguments

path_to_corpus

path to the corpus directory

lowercase

Should tokens be turned into lowercase? Default is TRUE

remove_punctuation

Should punctuation marks be removed? Default is TRUE

n_gram_size

size of ngrams - possible values: 1 & 2; default is 1

remove_whitespace

Should white-spaces be removed? Default is TRUE

Examples

1

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