code: def _get_word_start_index(self, idx):
          
          i = 0
          for _idx in self.word_starts[1:]:
              if idx < _idx:
                  return i
              else:
                  i+=1
          return i
docs: Helper method that returns the index of the string based on node's
          starting index