View source: R/annotate_text.R
annotate_text | R Documentation |
takes a character vector and runs grammar error correction on it requires 'gec_env' to be used, spacy to be instantiated, and sentence.py to have been sourced
annotate_text(digital_text)
digital_text |
character vector |
a tibble of sentences with columns: 'doc_id', 'original', 'correction_diff_standard' (standard [–] & ++ notation), 'changes' (html 'ins' and 'del' tags)
#annotate_text("Ma, does ye have any potatos?")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.