利用tf-idf算法搜索出与关键词有关的前K文本importos from nltk. ... print("\n输出关键字合并的tf-idf值最大的前k个文本:") for i in add_list[:k]: ...
確定! 回上一頁