= [['ޗഐ', ‘ೣ’], ...] dictionary = corpora.Dictionary(texts) corpus = [dictionary.doc2bow(t) for t in texts] model = models.HdpModel(corpus, dictionary)
= [['ޗഐ', ‘ೣ’], ...] dictionary = corpora.Dictionary(texts) corpus = [dictionary.doc2bow(t) for t in texts] model = models.HdpModel(corpus, dictionary) print(model.show_topics())