Function layered_nlp::create_line_from_string[][src]

pub fn create_line_from_string<T: AsRef<str>>(input_string: T) -> LLLine

Simpler, less featureful version of create_line_from_input_tokens which uses utf8 counts as string length (String::len).

Use create_line_from_input_tokens to specify custom string length calculation function and to supply custom predefined attributes or custom tokens.