Nothing
QDAP_Polarity_Annotator <-
function()
{
f <- function(s, a) {
s <- as.String(s)
a <- a[a$type == "sentence"]
p <- polarity(s[a])$all$polarity
a$features <- lapply(p, single_feature, "polarity")
a
}
description <-
"Sentence polarity annotator for English using qdap::polarity"
Annotator(f, list(description = description))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.