def translate(self, x=0, y=0):
        newargs = []
        for a in self.args:
            if isinstance(a, GeometryEntity):
                newargs.append(a.translate(x, y))
            else:
                newargs.append(a)
        return self.func(*newargs)
Given a text, returns a list of the (start, end) spans of sentences in the text.
dataset/ETHPy150Open sympy/sympy/sympy/geometry/entity.py/GeometryEntity.translate--crossover with--dataset/ETHPy150Open reefeed/wanish/wanish/tokenizers.py/PunktSentenceTokenizer.span_tokenize