Description Usage Arguments Examples
Provides a simple aggregation function in order to clasify a vector of sentences. Incorporates text trimming and removes extraneous characters for better analysis.
1 | classify.aggregate(sentences, pos.words, neg.words, .progress = "none")
|
sentences |
a vector of sentences to classify |
pos.words |
the dictionary of positive words |
neg.words |
the dictionary of negative words |
.progress |
boolean value indicating whether a progress bar should be displayed |
1 | classify.aggregate(c("I am happy"), c("happy", "overjoyed"), c("sad", "depressed"), .progress='none')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.