def key(self):
        values = self._values
        str = 'Value key:\n'
        indexlen = len(repr(len(values)-1))
        key_format = '  %'+repr(indexlen)+'d: %s\n'
        for i in range(len(values)):
            str += key_format % (i, values[i])

        return str
dataset/ETHPy150Open nltk/nltk/nltk/metrics/confusionmatrix.py/ConfusionMatrix.key/original