| 程序包 | 说明 |
|---|---|
| com.hankcs.hanlp.corpus.dependency.CoNll | |
| com.hankcs.hanlp.corpus.dependency.model |
| 限定符和类型 | 字段和说明 |
|---|---|
CoNLLWord |
CoNLLWord.HEAD
当前词语的中心词
|
static CoNLLWord |
CoNLLWord.NULL
空白节点,用于描述下标超出word数组的词语
|
static CoNLLWord |
CoNLLWord.ROOT
根节点
|
CoNLLWord[] |
CoNLLSentence.word
有许多行,每行是一个单词
|
| 限定符和类型 | 方法和说明 |
|---|---|
CoNLLWord[] |
CoNLLSentence.getWordArray() |
CoNLLWord[] |
CoNLLSentence.getWordArrayWithRoot()
获取包含根节点在内的单词数组
|
| 限定符和类型 | 方法和说明 |
|---|---|
Iterator<CoNLLWord> |
CoNLLSentence.iterator() |
| 构造器和说明 |
|---|
CoNLLSentence(CoNLLWord[] word) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Collection<String> |
MaxEntDependencyModelMaker.generateSingleWordContext(CoNLLWord[] word,
int index,
String mark) |
static Collection<String> |
MaxEntDependencyModelMaker.generateUniContext(CoNLLWord[] word,
int i,
int j) |
Copyright © 2014–2018 码农场. All rights reserved.