Description Usage Arguments Value Examples
Given a text vector, clean text is returned
1 2 3 4 5 6 7 8 9 10 |
rawtext |
texts to clean |
stopwords |
stopwords language. Default to "italian". It supports the following languages: danish, dutch, english, finnish, french, german, hungarian, italian, norwegian, portuguese, russian, spanish, and swedish |
delete_url |
delete URLs in the texts (default TRUE) |
lowercase |
convert words to lower (default TRUE) |
simbols |
keep just alphanumeric characters (default TRUE). |
numbers |
remove numbers (default TRUE). |
smallwords |
remove words composed of up to 2 characters (default TRUE). |
spaces |
remove extra white spaces (default TRUE). |
a text vector with cleaned textual data
1 2 3 | ## Not run:
clean_text <- cleaner(rawtext)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.