def save(self): for word in self._trained_words: Word.set_word(word, self.nwords[word], language=self.language)