Skip to main content

split

Function split 

Source
fn split<'a>(lexicon: &Lexicon, text: &'a str) -> Vec<&'a str>
Expand description

The words of the text: runs of letters, digits and underscores; a dot or a comma between two of them kept (“2.5”, “1,000”, “e.g”), an apostrophe between two letters (“don’t”, “aujourd’hui”); French elisions split off and dropped (“l’information”, “qu’il”: Lexicon::elisions).