code: def string_position(self, id_):
          
          if self.bow:
              return self.string_start[self.positions[id_]]
          else:
              return self.string_start[[self.positions[id_]]]
docs: Returns a np array with indices to id_ (int) occurrences