returns the distance (int) between to idices.

        Two consecutive tokens must have a delta of 1.

def indexdelta(self, stop_id, start_id):
        """returns the distance (int) between to idices.

        Two consecutive tokens must have a delta of 1.
        """
        return self.tokenid2index(stop_id) - self.tokenid2index(start_id)