def _tokenize(self, text):
        """Tokenize the text into a list of sentences with a list of words.

        :param text: raw text
        :return: tokenized text
        :rtype : list
        """
        sentences = []
        tokens = []
        for word in self._clean_accents(text).split(' '):
            tokens.append(word)
            if '.' in word:
                sentences.append(tokens)
                tokens = []
        return sentences
def _tokenize ( self , text ) : sentences = [ ] tokens = [ ] for word in self . _clean_accents ( text ) . split ( ' ' ) : tokens . append ( word ) if '.' in word : sentences . append ( tokens ) tokens = [ ] return sentences
Tokenize the text into a list of sentences with a list of words.

        :param text: raw text
        :return: tokenized text
        :rtype : list