类 SimHashHanLPImpl
java.lang.Object
com.sh.wf.module.util.SimHashHanLPImpl
Description: 使用HanLP进行分词,再通过simhash算法进行计算两字符串的相似度,适合大文本计算
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- 2018-09-28
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
SimHashHanLPImpl
public SimHashHanLPImpl()
-
-
方法详细资料
-
getScore
计算相似度百分比- 参数:
text1- Stringtext2- String- 返回:
- double
-