yongzhuo / nlg-yongzhuo

中文文本生成(NLG)之文本摘要(text summarization)工具包, 语料数据(corpus data), 抽取式摘要 Extractive text summary of Lead3、keyword、textrank、text teaser、word significance、LDA、LSI、NMF。(graph,feature,topic model,summarize tool or tookit)
https://blog.csdn.net/rensihui
MIT License
405 stars 52 forks source link

ValueError: max_df corresponds to < documents than min_df #8

Open 599177227 opened 2 years ago

599177227 commented 2 years ago

Hello, why does the program report ValueError: max_df corresponds to < documents than min_df when I call model nmr, lda, lsi or nmf several times?

yongzhuo commented 2 years ago

There was some params wrong of CountVectorizer, I have fix it on code, future i will upload to pypi.