Getting “doc2bow expects an array of unicode tokens on input, not a single string” as a try to do nlp using gensim" Is there a solution?

后端 未结 0 578
旧时难觅i
旧时难觅i 2021-01-24 06:34
import gensim  
LDA = gensim.models.ldamodel.LdaModel 
dictionnary = corpora.Dictionary(docCleaned) #Error message appears here!!!
doc_term_matrix = [dictionary.doc2bow(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题