|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 CoNLLWord 的软件包 | |
|---|---|
| com.hankcs.hanlp.corpus.dependency.CoNll | |
| com.hankcs.hanlp.corpus.dependency.model | |
| com.hankcs.hanlp.corpus.dependency.CoNll 中 CoNLLWord 的使用 |
|---|
| 声明为 CoNLLWord 的 com.hankcs.hanlp.corpus.dependency.CoNll 中的字段 | |
|---|---|
CoNLLWord |
CoNLLWord.HEAD
当前词语的中心词 |
static CoNLLWord |
CoNLLWord.NULL
空白节点,用于描述下标超出word数组的词语 |
static CoNLLWord |
CoNLLWord.ROOT
根节点 |
CoNLLWord[] |
CoNLLSentence.word
有许多行,每行是一个单词 |
| 返回 CoNLLWord 的 com.hankcs.hanlp.corpus.dependency.CoNll 中的方法 | |
|---|---|
CoNLLWord[] |
CoNLLSentence.getWordArrayWithRoot()
获取包含根节点在内的单词数组 |
| 参数类型为 CoNLLWord 的 com.hankcs.hanlp.corpus.dependency.CoNll 中的构造方法 | |
|---|---|
CoNLLSentence(CoNLLWord[] word)
|
|
| com.hankcs.hanlp.corpus.dependency.model 中 CoNLLWord 的使用 |
|---|
| 参数类型为 CoNLLWord 的 com.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)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||