ldamodel = models.ldamodel.LdaModel(corpus, num_topics=15, id2word=dictionary, passes=20) filename ='finalized_model_15.sav'joblib.dump(ldamodel, filename) print(ldamodel.print_topics(num_topics=15, num_words=6))returnldamodel,dictionary 开发者ID:ZhenqiWangC,项目名称:models,代码行数:31,...