':key: å èœœæš¡åçtwordsæ°æ®,å³åéªæ°æ®'

def load_twords(self, file_name):

    self.prior_word.clear()
    topic = (-1)
    with open(file_name, 'r', encoding='utf-8') as f_twords:
        for line in f_twords:
            if line.startswith('Topic'):
                topic = int(line.strip()[6:(-3)])
            else:
                word_id = self.local_bi.get_key(line.strip().split()[0].strip())
                self.prior_word[word_id].append(topic)
    return
