Skip to main content

map_split

Function map_split 

Source
pub fn map_split(input: &str, num_workers: usize) -> Vec<String>
Expand description

Split input into chunks for map workers.

Uses a combination of paragraph, sentence, and line splitting to produce semantically meaningful chunks.