Generate visualizations for words from the input corpus

corpus_viz(corpus)

Arguments

corpus

a character vector representing a corpus

Value

a list of a word cloud, a histogram of word length frequencies, and a histogram of word frequencies

Examples

coRPysprofiling::corpus_viz("some text")
#> $`word cloud`
#> #> $`word freq bar chart`
#> #> $`word length bar chart`
#>
coRPysprofiling::corpus_viz("some text")['word cloud']
#> $`word cloud`
#>
coRPysprofiling::corpus_viz("some text")['word freq bar chart']
#> $`word freq bar chart`
#>
coRPysprofiling::corpus_viz("some text")['word length bar chart']
#> $`word length bar chart`
#>