Nothing
QDAP_Formality_Annotator <-
function()
{
f <- function(s, a) {
s <- as.String(s)
formality <- formality(s, progress.bar = FALSE)$formality$formality
Annotation(.document_id(a),
"document",
1L,
nchar(s),
list(list(formality = formality)))
}
description <-
"Document formality annotator for English using qdap::formality"
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.