Result: { "automation technology process" => 3, "mass creation" => 2, "rendition" => 3, "saturation" => 3, } # --- tests @slices = [ [], [[0], [1]], [[0], [0, 1], [1], [1, 2], [2]], [[0], [0, 1], [0, 1, 2], [1], [1, 2], [1, 2, 3], [2], [2, 3], [3]], ] partitions('automation technology process limit') = ( "automation", "automation technology", "automation technology process", "technology", "technology process", "technology process limit", "process", "process limit", "limit", )