class_docstr: A regular expression based chunk parser.  ``RegexpChunkParser`` uses a
  sequence of "rules" to find chunks of a single type within a
  text.  The chunking of the text is encoded using a ``ChunkString``,
  and each rule acts by modifying the chunking in the
  ``ChunkString``.  The rules are all implemented using regular
  expression matching and substitution.
  
  The ``RegexpChunkRule`` class and its subclasses (``ChunkRule``,
  ``StripRule``, ``UnChunkRule``, ``MergeRule``, and ``SplitRule``)
  define the rules that are used by ``RegexpChunkParser``.  Each rule
  defines an ``apply()`` method, which modifies the chunking encoded
  by a given ``ChunkString``.
  
  :type _rules: list(RegexpChunkRule)
  :ivar _rules: The list of rules that should be applied to a text.
  :type _trace: int
  :ivar _trace: The default level of tracing.
class_docstr_tok: ["A","regular","expression","based","chunk","parser",".","``","RegexpChunkParser","``","uses","a","sequence","of","``","rules","''","to","find","chunks","of","a","single","type","within","a","text",".","The","chunking","of","the","text","is","encoded","using","a","``","ChunkString","``",",","and","each","rule","acts","by","modifying","the","chunking","in","the","``","ChunkString","``",".","The","rules","are","all","implemented","using","regular","expression","matching","and","substitution",".","The","``","RegexpChunkRule","``","class","and","its","subclasses","(","``","ChunkRule","``",",","``","StripRule","``",",","``","UnChunkRule","``",",","``","MergeRule","``",",","and","``","SplitRule","``",")","define","the","rules","that","are","used","by","``","RegexpChunkParser","``",".","Each","rule","defines","an","``","apply","(",")","``","method",",","which","modifies","the","chunking","encoded","by","a","given","``","ChunkString","``",".",":","type","_rules",":","list","(","RegexpChunkRule",")",":","ivar","_rules",":","The","list","of","rules","that","should","be","applied","to","a","text",".",":","type","_trace",":","int",":","ivar","_trace",":","The","default","level","of","tracing","."]
docstr: :return: a verbose string representation of this ``RegexpChunkParser``.
  :rtype: str
docstr_tok: [":","return",":","a","verbose","string","representation","of","this","``","RegexpChunkParser","``",".",":","rtype",":","str"]
code: def __str__(self):
      """
      :return: a verbose string representation of this ``RegexpChunkParser``.
      :rtype: str
      """
      s = "RegexpChunkParser with %d rules:\n" % len(self._rules)
      margin = 0
      for rule in self._rules:
          margin = max(margin, len(rule.descr()))
      if margin < 35:
          format = "    %" + repr(-(margin + 3)) + "s%s\n"
      else:
          format = "    %s\n      %s\n"
      for rule in self._rules:
          s += format % (rule.descr(), repr(rule))
      return s[:-1]
  
imports: import re
  import regex
  from nltk.chunk.api import ChunkParserI
  from nltk.tree import Tree
label_desc: Use image node_id 7 for calling the RegexpChunkParser obj's underlying member method code with example usage: obj.__str__() and returns: s