| 程序包 | 说明 |
|---|---|
| com.hankcs.hanlp.dependency.nnparser.action |
| 限定符和类型 | 方法和说明 |
|---|---|
static Action |
ActionFactory.make_left_arc(int rel)
建立右焦点词依存于左焦点词的依存关系
|
static Action |
ActionFactory.make_right_arc(int rel)
建立左焦点词依存于右焦点词的依存关系
|
static Action |
ActionFactory.make_shift()
不建立依存关系,只转移句法分析的焦点,即新的左焦点词是原来的右焦点词,依此类推。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
ActionUtils.is_left_arc(Action act,
int[] deprel) |
static boolean |
ActionUtils.is_right_arc(Action act,
int[] deprel) |
static boolean |
ActionUtils.is_shift(Action act) |
Copyright © 2014–2017 码农场. All rights reserved.