def _reindex(self):
self._len2split_idx = {}<EOL>last_split = -<NUM_LIT:1><EOL>for split_idx, split in enumerate(self._splits):<EOL><INDENT>self._len2split_idx.update(<EOL>dict(list(zip(list(range(last_split + <NUM_LIT:1>, split)), [split_idx] * (split - (last_split + <NUM_LIT:1>))))))<EOL><DEDENT>
Index every sentence into a cluster