Similar::Text
Class methods
Basic grapheme tokenization (handles combining characters).
Splits a string into lines with newlines attached.
Splits bytes into lines with newlines attached.
Basic Unicode word tokenization using character categories.
Splits bytes into words and whitespace (ASCII whitespace only).