clearPt | R Documentation |
Optionally removes stopwords, numbers, ordinals, whitespaces, punctuation, diacritics, and convert to lower case.
clearPt(
string,
lower = TRUE,
stopwords = TRUE,
diacritics = TRUE,
punctuation = TRUE,
squish = TRUE,
numbers = TRUE,
ordinal = TRUE
)
string |
object to be submitted to conversion and removals. |
lower |
logical Converts to lower case. |
stopwords |
logial Removes portuguese-BR stopwords. |
diacritics |
logial remove all diacritics |
punctuation |
logical Romoves punctuation. |
squish |
logical applies stringr::str_squish |
numbers |
logical Removes numbers |
ordinal |
logical Removes ordinal superscripts |
## Not run:
clearPt(texto)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.