parameters: (self)
docstring: Initializes the text ID -> numeric ID mapping.
docstring_summary: Initializes the text ID -> numeric ID mapping.
docstring_tokens: Initializes the text ID - > numeric ID mapping .
function: def InitializeIds(self):
      '''Initializes the text ID -> numeric ID mapping.'''
      predetermined_id_map = {}
      if self._predetermined_ids_file:
        with open(self._predetermined_ids_file) as f:
          for line in f:
            tid, nid = line.split()
            predetermined_id_map[tid] = int(nid)
      self._id_map = _ComputeIds(self, predetermined_id_map)
function_tokens: def InitializeIds ( self ) : predetermined_id_map = { } if self . _predetermined_ids_file : with open ( self . _predetermined_ids_file ) as f : for line in f : tid , nid = line . split ( ) predetermined_id_map [ tid ] = int ( nid ) self . _id_map = _ComputeIds ( self , predetermined_id_map )