def _predict_sentence(self, sentence: str, gen_len=30):
    results = []
    temp_str = [x for x in light_tokenize(sentence)]
    for i in range(gen_len):
        temp_result = self._predict_next_word_sample(temp_str)
        results.append(temp_result)
        temp_str.append(temp_result)
    return results
def _predict_sentence(self, sentence: str, gen_len=30):
    results = []
    temp_str = [x for x in light_tokenize(sentence)]
    for i in range(gen_len):
        temp_result = self._predict_next_word_sample(temp_str)
        results.append(temp_result)
        temp_str.append(temp_result)
    return results