[−][src]Trait tokenizer::Tokenizer
A trait that all Tokenizer should implement.
Required methods
fn tokenize<'a>(&self, text: &'a str) -> Vec<&'a str>
Tokenize given text
and return a Vec<&str>
where each &str
inside
a Vec
is a slice from given text.