|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.hankcs.hanlp.dictionary.BiGramDictionary
public class BiGramDictionary
2元语法词典
| 字段摘要 | |
|---|---|
static String |
path
已过时。 |
static int |
totalFrequency
已过时。 |
| 构造方法摘要 | |
|---|---|
BiGramDictionary()
已过时。 |
|
| 方法摘要 | |
|---|---|
static Set<String> |
_findSpecialString()
已过时。 没事就不要用了 |
static int |
getBiFrequency(String twoWord)
已过时。 获取共现频次 |
static int |
getBiFrequency(String from,
String to)
已过时。 获取共现频次 |
static boolean |
load(String path)
已过时。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static final String path
public static final int totalFrequency
| 构造方法详细信息 |
|---|
public BiGramDictionary()
| 方法详细信息 |
|---|
public static boolean load(String path)
public static Set<String> _findSpecialString()
public static int getBiFrequency(String from,
String to)
from - 第一个词to - 第二个词
public static int getBiFrequency(String twoWord)
twoWord - 用@隔开的两个词
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||