

def __init__(self, tag_pattern, descr):
    "\n        Construct a new ``UnChunkRule``.\n\n        :type tag_pattern: str\n        :param tag_pattern: This rule's tag pattern.  When\n            applied to a ``ChunkString``, this rule will\n            find any complete chunk that matches this tag pattern,\n            and un-chunk it.\n        :type descr: str\n        :param descr: A short description of the purpose and/or effect\n            of this rule.\n        "
    self._pattern = tag_pattern
    regexp = re.compile(('\\{(?P<chunk>%s)\\}' % tag_pattern2re_pattern(tag_pattern)))
    RegexpChunkRule.__init__(self, regexp, '\\g<chunk>', self)

dataset/ETHPy150Open nltk/nltk/nltk/chunk/regexp.py UnChunkRule.__init__/VarMisuse@48/223 `descr`->`self`