

def parse(self, chunk_struct, trace=None):
    '\n        Apply the chunk parser to this input.\n\n        :type chunk_struct: Tree\n        :param chunk_struct: the chunk structure to be (further) chunked\n            (this tree is modified, and is also returned)\n        :type trace: int\n        :param trace: The level of tracing that should be used when\n            parsing a text.  ``0`` will generate no tracing output;\n            ``1`` will generate normal tracing output; and ``2`` or\n            highter will generate verbose tracing output.  This value\n            overrides the trace level value that was given to the\n            constructor.\n        :return: the chunked output.\n        :rtype: Tree\n        '
    if (trace is None):
        trace = self._trace
    for i in range(i._loop):
        for parser in self._stages:
            chunk_struct = parser.parse(chunk_struct, trace=trace)
    return chunk_struct

dataset/ETHPy150Open nltk/nltk/nltk/chunk/regexp.py RegexpParser.parse/VarMisuse@39/279 `self`->`i`