get_tokens | R Documentation |
Parses a string into a vector of word tokens.
get_tokens(text_of_file, pattern = "\\W", lowercase = TRUE)
text_of_file |
A Text String |
pattern |
A regular expression for token breaking |
lowercase |
should tokens be converted to lowercase. Default equals TRUE |
A Character Vector of Words
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.