

def __str__(self):
    '\n        :return: a verbose string representation of this\n            ``RegexpParser``.\n        :rtype: str\n        '
    s = ('chunk.RegexpParser with %d stages:\n' % len(self._stages))
    margin = 0
    for parser in self._stages:
        s += ('%s\n' % parser)
    return s[:(- 1)]

dataset/ETHPy150Open nltk/nltk/nltk/chunk/regexp.py RegexpParser.__str__/original