In [1]:
from gensim import corpora, models
import pyLDAvis.gensim
In [28]:
#include title, more expansive on names, included title
# no people names, 4 or more occurances, 50 topics, 100 passes
corpus = corpora.MmCorpus('data/CroatiaTravelBlogs_NoNames.mm')
dictionary = corpora.Dictionary.load ('data/CroatiaTravelBlogs_NoNames.dict')

lda = models.LdaModel.load('data/Croatia_Topic_No_Names-50_Passes-100.lda')
croatia_travelblog_data =  pyLDAvis.gensim.prepare(lda, corpus, dictionary)
pyLDAvis.display(croatia_travelblog_data)
Out[28]:
In [ ]: