Description Usage Arguments Value Examples
View source: R/termfrequency.R
a term frequency hash for the tokens and documents of the corpus
1 | TermFrequency(corpus)
|
corpus |
an object inheriting from class Corpus |
an object of class TermFrequency made up of Dict - the hashed tokens with term frequency by document name Labels - the document names from the corpus LabelCounts - the total counts of tokens for each Label
1 2 | corpusEx<-Corpus(list('first'=c('a single entry document'),'second'=c('a two entry document','with two separate entries')))
termFreqEx <- TermFrequency(corpusEx)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.