huaban / jieba-analysis

结巴分词(java版)
https://github.com/huaban/jieba-analysis
Apache License 2.0
2.55k stars 835 forks source link

tfidf分析方法中的关键词排序错误 #138

Open wpscjtc opened 1 month ago

wpscjtc commented 1 month ago

image tfidf分析方法中的关键词排序错误,Keyword类实现的排序方法写错了,else后应该返回1,会导致返回的关键词没有排序,限制数量后,不会把分数最高的词返回