类 SimHashHanLPImpl

java.lang.Object
com.sh.wf.module.util.SimHashHanLPImpl

public class SimHashHanLPImpl extends Object

Description: 使用HanLP进行分词,再通过simhash算法进行计算两字符串的相似度,适合大文本计算

Title:首亨软件 - TSS/CRM等

从以下版本开始:
2018-09-28
  • 构造器详细资料

    • SimHashHanLPImpl

      public SimHashHanLPImpl()
  • 方法详细资料

    • getScore

      public double getScore(String text1, String text2)
      计算相似度百分比
      参数:
      text1 - String
      text2 - String
      返回:
      double