| 构造器和说明 |
|---|
CoNLLSentence(CoNLLWord[] word) |
CoNLLSentence(List<CoNllLine> lineList)
构造一个句子
|
| 限定符和类型 | 方法和说明 |
|---|---|
String[][] |
getEdgeArray()
获取边的列表,edge[i][j]表示id为i的词语与j存在一条依存关系为该值的边,否则为null
|
CoNLLWord[] |
getWordArray() |
CoNLLWord[] |
getWordArrayWithRoot()
获取包含根节点在内的单词数组
|
Iterator<CoNLLWord> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic CoNLLWord[] word
public CoNLLSentence(CoNLLWord[] word)
Copyright © 2014–2017 码农场. All rights reserved.