remove_valid_contractions <- function(lines){
for (valid in valid_English_contractions){
lines <- gsub(sprintf("\\b%s\\b", valid), "<contraction>", lines, perl = TRUE, ignore.case = TRUE)
}
lines
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.