com.hankcs.hanlp.summary
类 BM25

java.lang.Object
  继承者 com.hankcs.hanlp.summary.BM25

public class BM25
extends Object

搜索相关性评分算法

作者:
hankcs

构造方法摘要
BM25(List<List<String>> docs)
           
 
方法摘要
 double sim(List<String> sentence, int index)
           
 double[] simAll(List<String> sentence)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

BM25

public BM25(List<List<String>> docs)
方法详细信息

sim

public double sim(List<String> sentence,
                  int index)

simAll

public double[] simAll(List<String> sentence)


Copyright © 2014–2015 鐮佸啘鍦�/a>. All rights reserved.