CalledProcessError:非零退出状态1

时间:2020-01-08 21:42:41

标签: python-3.x nlp

'''

mallet_path = '/Users/saira/Scicom/SENTIMENT Analysis/DELTA/Topic Modelling/mallet-2.0.8/mallet-2.0.8/bin/mallet' # update this path
ldamallet = gensim.models.wrappers.LdaMallet(mallet_path, corpus=corpus, num_topics=20, id2word=id2word)

'''

我的错误是:

CalledProcessError:命令'/ Users / saira / Scicom / SENTIMENT Analysis / DELTA / Topic Modelling / mallet-2.0.8 / mallet-2.0.8 / bin / mallet import-file --preserve-case --keep-sequence -删除停用词-令牌正则表达式“ \ S +”-输入C:\ Users \ saira \ AppData \ Local \ Temp \ fb153e_corpus.txt-输出C:\ Users \ saira \ AppData \ Local \ Temp \ fb153e_corpus .mallet'返回非零退出状态1。

0 个答案:

没有答案