def load_text(self, text): self.text = NGram.clean(text).split()
def load_text(self, text): self.text = list(NGram.clean(text))