def __init__(self, regexp, repl, descr):
        if isinstance(regexp, string_types):
            regexp = re.compile(regexp)
        self._repl = repl
        self._descr = descr
        self._regexp = regexp
Construct a new RegexpChunkRule.
dataset/ETHPy150Open nltk/nltk/nltk/chunk/regexp.py/RegexpChunkRule.__init__