def __repr__(self):
        """
        Return a string representation of this rule.  It has the form::

            <RegexpChunkRule: '{<IN|VB.*>}'->'<IN>'>

        Note that this representation does not include the
        description string; that string can be accessed
        separately with the ``descr()`` method.

        :rtype: str
        """
        return ('<RegexpChunkRule: '+unicode_repr(self._regexp.pattern)+
                '->'+unicode_repr(self._repl)+'>')
dataset/ETHPy150Open nltk/nltk/nltk/chunk/regexp.py/RegexpChunkRule.__repr__/original