'Construct a new ``RegexpChunkParser``.
:type rules: list(RegexpChunkRule)
:param rules: The sequence of rules that should be used to
generate the chunking for a tagged text.
:type chunk_label: str
:param chunk_label: The node value that should be used for
chunk subtrees.  This is typically a short string
describing the type of information contained by the chunk,
such as ``"NP"`` for base noun phrases.
:type root_label: str
:param root_label: The node value that should be used for the
top node of the chunk structure.
:type trace: int
:param trace: The level of tracing that should be used when
parsing a text.  ``0`` will generate no tracing output;
``1`` will generate normal tracing output; and ``2`` or
higher will generate verbose tracing output.'

def __init__(self, rules, chunk_label=u'NP', root_label=u'S', trace=0):

    self._rules = rules
    self._trace = trace
    self._chunk_label = chunk_label
    self._root_label = root_label
