Description Usage Arguments Value Examples
Strip standalone digits from "character"
string
1 |
x |
a vector of |
a vector of "character"
strings excluding standalong numeric digits
1 2 3 4 5 6 7 | data("common_word_dictionary")
x <- "Hello, my name is Shan Sabri! less common words are: cells, differentation, reprogramming, 1 42, 101"
x <- strip_punctuation(x)
dictionary <- as.vector(dictionary$V1[1:5000])
x <- filter_text(x, d = dictionary)
remove_standalone_digits(x)
# [1] "shan" "sabri" "cells" "differentation" "reprogramming"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.