def _trace_production(self, production, p, span, width):

        str = '|' + '.' * span[0]
        str += '=' * (span[1] - span[0])
        str += '.' * (width - span[1]) + '| '
        str += '%s' % production
        if self._trace > 2: str = '%-40s %12.10f ' % (str, p)

        print(str)
Print trace output indicating that a given production has been
dataset/ETHPy150Open nltk/nltk/nltk/parse/viterbi.py/ViterbiParser._trace_production