powered by
(R implementation of _is_whitespace from BERT: tokenization.py.)
is_whitespace(char)
A character scalar, comprising a single unicode character.
TRUE if char is a whitespace character.
"\t", "\n", and "\r" are technically control characters but we treat them as whitespace since they are generally considered as such.