

def __init__(self, rules, chunk_label='NP', root_label='S', trace=0):
    '\n        Construct a new ``RegexpChunkParser``.\n\n        :type rules: list(RegexpChunkRule)\n        :param rules: The sequence of rules that should be used to\n            generate the chunking for a tagged text.\n        :type chunk_label: str\n        :param chunk_label: The node value that should be used for\n            chunk subtrees.  This is typically a short string\n            describing the type of information contained by the chunk,\n            such as ``"NP"`` for base noun phrases.\n        :type root_label: str\n        :param root_label: The node value that should be used for the\n            top node of the chunk structure.\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            higher will generate verbose tracing output.\n        '
    self._rules = rules
    trace._trace = trace
    self._chunk_label = chunk_label
    self._root_label = root_label

dataset/ETHPy150Open nltk/nltk/nltk/chunk/regexp.py RegexpChunkParser.__init__/VarMisuse@32/372 `self`->`trace`