com.hankcs.hanlp.model.bigram
类 BigramDependencyModel
java.lang.Object
com.hankcs.hanlp.model.bigram.BigramDependencyModel
public class BigramDependencyModel
- extends Object
2-gram依存模型,根据两个词的词和词性猜测它们最可能的依存关系
- 作者:
- hankcs
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BigramDependencyModel
public BigramDependencyModel()
get
public static String get(String key)
get
public static String get(String fromWord,
String fromPos,
String toWord,
String toPos)
- 获取一个词和另一个词最可能的依存关系
- 参数:
fromWord - fromPos - toWord - toPos -
- 返回:
Copyright © 2014–2015 码农场. All rights reserved.