tmWordCountsTable: Function to create tmWordCountsTable

Description Usage Arguments Value Examples

View source: R/classes.R

Description

Function to create tmWordCountsTable

Usage

1

Arguments

x

source tmParsed

Value

returns tmWordCountsTable object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
corp <- tmCorpus(c("This is corp", "Document two is this"))
parsed <- parse(corp)
parsed_ngram <- ngram(corp, k = 2)
tabled <- make_tabled(parsed)
tabled_ngram <- make_tabled(parsed_ngram)
## Not run: 
corp <- tmCorpus("directory", package = "stylo")
parsed <- parse(corp)
parsed_ngram <- ngram(corp, k = 2)
parsed <- tmParsed(source = "directory", package = "stylo")

## End(Not run)

textmining documentation built on May 29, 2017, 8:27 p.m.