com.hankcs.hanlp.dependency.nnparser.action
类 ActionFactory
java.lang.Object
com.hankcs.hanlp.dependency.nnparser.action.ActionFactory
- 所有已实现的接口:
- ActionType
public class ActionFactory
- extends Object
- implements ActionType
- 作者:
- hankcs
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionFactory
public ActionFactory()
make_shift
public static Action make_shift()
- 不建立依存关系,只转移句法分析的焦点,即新的左焦点词是原来的右焦点词,依此类推。
- 返回:
make_left_arc
public static Action make_left_arc(int rel)
- 建立右焦点词依存于左焦点词的依存关系
- 参数:
rel - 依存关系
- 返回:
make_right_arc
public static Action make_right_arc(int rel)
- 建立左焦点词依存于右焦点词的依存关系
- 参数:
rel - 依存关系
- 返回:
Copyright © 2014–2015 鐮佸啘鍦�/a>. All rights reserved.