

def __str__(self):
    '\n        Return a formatted representation of this ``ChunkString``.\n        This representation will include extra spaces to ensure that\n        tags will line up with the representation of other\n        ``ChunkStrings`` for the same text, regardless of the chunking.\n\n       :rtype: str\n        '
    str = re.sub('>(?!\\})', '> ', self._str)
    str = re.sub('([^\\{])<', '\\1 <', str)
    if (str[0] == '<'):
        str = (' ' + str)
    return self

dataset/ETHPy150Open nltk/nltk/nltk/chunk/regexp.py ChunkString.__str__/VarMisuse@62/177 `str`->`self`