类 com.hankcs.hanlp.corpus.dependency.CoNll.CoNLLWord
的使用

使用 CoNLLWord 的软件包
com.hankcs.hanlp.corpus.dependency.CoNll   
com.hankcs.hanlp.corpus.dependency.model   
 

com.hankcs.hanlp.corpus.dependency.CoNllCoNLLWord 的使用
 

声明为 CoNLLWordcom.hankcs.hanlp.corpus.dependency.CoNll 中的字段
 CoNLLWord CoNLLWord.HEAD
          当前词语的中心词
static CoNLLWord CoNLLWord.NULL
          空白节点,用于描述下标超出word数组的词语
static CoNLLWord CoNLLWord.ROOT
          根节点
 CoNLLWord[] CoNLLSentence.word
          有许多行,每行是一个单词
 

返回 CoNLLWordcom.hankcs.hanlp.corpus.dependency.CoNll 中的方法
 CoNLLWord[] CoNLLSentence.getWordArrayWithRoot()
          获取包含根节点在内的单词数组
 

参数类型为 CoNLLWordcom.hankcs.hanlp.corpus.dependency.CoNll 中的构造方法
CoNLLSentence(CoNLLWord[] word)
           
 

com.hankcs.hanlp.corpus.dependency.modelCoNLLWord 的使用
 

参数类型为 CoNLLWordcom.hankcs.hanlp.corpus.dependency.model 中的方法
static Collection<String> MaxEntDependencyModelMaker.generateSingleWordContext(CoNLLWord[] word, int index, String mark)
           
static Collection<String> MaxEntDependencyModelMaker.generateUniContext(CoNLLWord[] word, int i, int j)
           
 



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