Implements Text#tokenize.