摘要:文本相似度一般用于处理告警或日志聚类等文本类数据 from simhash import Simhash def simhash_similarity(text1, text2): """ :param text1: 文本1 :param text2: 文本2 :return: 返回两篇文章的相似度
阅读全文
posted @ 2021-12-19 16:01
posted @ 2021-12-19 16:01
Copyright Copyright 2025 呱嗒呱嗒
Powered by .NET 9.0 on Kubernetes