com.hankcs.hanlp.model.bigram
类 BigramDependencyModel

java.lang.Object
  继承者 com.hankcs.hanlp.model.bigram.BigramDependencyModel

public class BigramDependencyModel
extends Object

2-gram依存模型,根据两个词的词和词性猜测它们最可能的依存关系

作者:
hankcs

构造方法摘要
BigramDependencyModel()
           
 
方法摘要
static String get(String key)
           
static String get(String fromWord, String fromPos, String toWord, String toPos)
          获取一个词和另一个词最可能的依存关系
 
从类 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 鐮佸啘鍦�/a>. All rights reserved.