import gensim LDA = gensim.models.ldamodel.LdaModel dictionnary = corpora.Dictionary(docCleaned) #Error message appears here!!! doc_term_matrix = [dictionary.doc2bow(