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)
Collects training data from a given list of tokens.
dataset/ETHPy150Open nltk/nltk/nltk/tokenize/punkt.py/PunktTrainer.train_tokens