'Collects training data from a given list of tokens.'

def train_tokens(self, tokens, verbose=False, finalize=True):

    self._train_tokens((self._Token(t) for t in tokens), verbose)
    if finalize:
        self.finalize_training(verbose)
