Description Usage Arguments Value See Also Examples
Tokenise text into a sequence of words. The function uses strsplit
to split text into words
by using the [:space:] character classes.
1 | tokenize_simple(x, split = "[[:space:]]+")
|
x |
a character string of length 1 |
split |
passed on to |
a character vector with the sequence of words in x
1 2 3 | tokenize_simple("This just splits. Text.alongside\nspaces right?")
tokenize_simple("Also .. multiple punctuations or ??marks")
tokenize_simple("Joske Vermeulen")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.