def slice(self, i=None, j=None):
        """Return a view of the list of tokens from [i, j)."""
        new_tokens = copy.copy(self)
        new_tokens.data = self.data[i: j]
        return new_tokens
Return a view of the list of tokens from [i, j).
se2/DPR/dpr/utils/tokenizers.py