code: def _regenerate_val2i_and_next_i(self) -> None:
      self._val2i = {val: idx for idx, val in enumerate(self._i2val)}
      self._next_i = len(self._i2val)
  
file_path: scattertext/scattertext/indexstore/IndexStore.py
imports: from typing import Any, Iterable, List, Set, Tuple
label_desc: Use image node_id 16 for calling the IndexStore obj's underlying member method code with example usage: obj._regenerate_val2i_and_next_i() without return types