getWordcount: Determine the number of words in corpus

Description Usage Arguments Value

View source: R/corpusType.R

Description

Determine the number of words in corpus

Usage

1
getWordcount(corpus, controls, ...)

Arguments

corpus

The corpus to count

Value

a number indicating the amount of words in the corpus. If the number of words per file is not specified in the corpus (as required by the corpus type), ShinyConc will default to using the number of matches for the regular expression "\w+"


cwolk/ShinyConc documentation built on April 9, 2021, 1:43 p.m.