com.hankcs.hanlp.utility
类 MathTools

java.lang.Object
  继承者 com.hankcs.hanlp.utility.MathTools

public class MathTools
extends Object

作者:
hankcs

构造方法摘要
MathTools()
           
 
方法摘要
static double calculateWeight(Vertex from, Vertex to)
          从一个词到另一个词的词的花费
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

MathTools

public MathTools()
方法详细信息

calculateWeight

public static double calculateWeight(Vertex from,
                                     Vertex to)
从一个词到另一个词的词的花费

参数:
from - 前面的词
to - 后面的词
返回:
分数


Copyright © 2014–2015 码农场. All rights reserved.