pre_tokenizer_whitespace | R Documentation |
\w+|[^\w\s]+
This pre-tokenizer simply splits using the following regex: \w+|[^\w\s]+
This pre-tokenizer simply splits using the following regex: \w+|[^\w\s]+
tok::tok_pre_tokenizer
-> tok_pre_tokenizer_whitespace
new()
Initializes the whistespace tokenizer
pre_tokenizer_whitespace$new()
clone()
The objects of this class are cloneable with this method.
pre_tokenizer_whitespace$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other pre_tokenizer:
pre_tokenizer
,
pre_tokenizer_byte_level
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.