View source: R/text_tokenize.R
A wrapper to text_tokenize that tokenizes text into words. Since using text_tokenize()'s option non_token might slow things down considerably this one purpose wrapper is a little more clever than the general implementation and hence much faster.
1 2 3 4 | text_tokenize_words(string, non_token = FALSE)
## Default S3 method:
text_tokenize_words(string, non_token = FALSE)
|
string |
the text to be tokenized |
non_token |
whether or not token as well as non tokens shall be returned. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.