@property
    def is_number(self):
        return self.type.startswith('##number##')
True if the token text is that of a number.
dataset/ETHPy150Open nltk/nltk/nltk/tokenize/punkt.py/PunktToken.is_number