使用余弦定理计算文本相似度

摘要

from future import division def init(self, target1, target2, topK=10): top_keywords1 = jieba.analyse.extract_tags(self.target1, topK=self.topK, withWeight=True)

欢迎在评论区写下你对这篇文章的看法。

评论

首页 - Wiki
Copyright © 2011-2024 iteam. Current version is 2.125.0. UTC+08:00, 2024-05-03 21:10
浙ICP备14020137号-1 $访客地图$