package org.xm.similarity;

/**
 * 计算相似度
 *
 * @author xuming
 */
public interface ISimilarity {
    double getSimilarity(String word1, String word2);
}

@@ -90,16 +90,120 @@
 arity %7B%0A
+    /**%0A     * %E8%AE%A1%E7%AE%97%E7%9B%B8%E4%BC%BC%E5%BA%A6%0A     *%0A     * @param word1 %E8%AF%8D%E8%AF%AD1%0A     * @param word2 %E8%AF%8D%E8%AF%AD2%0A     * @return %E7%9B%B8%E4%BC%BC%E5%BA%A6%E5%80%BC%0A     */%0A
     doub

更新相似度接口。xuming 20170706