Skip to main content

split_verb_token

Function split_verb_token 

Source
pub fn split_verb_token(token: &str) -> Option<(&str, &str)>
Expand description

Split a first-word token into (stem, suffix) where stem is the leading ASCII-alphabetic run and suffix is the remainder.

Returns None if the token has no leading letters.