def __call__(self, s):
        """Uses dynamic programming to infer the location of spaces in a string without spaces."""
        l = [self._split(x) for x in self._SPLIT_RE.split(s)]
        return " ".join([item for sublist in l for item in sublist])
Uses dynamic programming to infer the location of spaces in a string without spaces.
src/dalle_mini/model/text.py