View source: R/smith_waterman.R
tokenize_spaces_punct | R Documentation |
Tokenise text into a sequence of words. The function uses strsplit
to split text into words
by using the [:space:] and [:punct:] character classes.
tokenize_spaces_punct(x)
x |
a character string of length 1 |
a character vector with the sequence of words in x
strsplit
tokenize_spaces_punct("This just splits. Text.alongside\nspaces right?")
tokenize_spaces_punct("Also .. multiple punctuations or ??marks")
tokenize_spaces_punct("Joske Vermeulen")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.