| 程序包 | 说明 |
|---|---|
| com.hankcs.hanlp.dependency.perceptron.learning | |
| com.hankcs.hanlp.dependency.perceptron.transition.configuration | |
| com.hankcs.hanlp.dependency.perceptron.transition.parser |
| 限定符和类型 | 方法和说明 |
|---|---|
float |
AveragedPerceptron.changeWeight(Action actionType,
int slotNum,
Object featureName,
int labelIndex,
float change) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
Instance.actionCost(Action action,
int dependency,
State state)
For the cost of an action given the gold dependencies
For more information see:
Yoav Goldberg and Joakim Nivre.
|
| 限定符和类型 | 字段和说明 |
|---|---|
Action |
LabeledAction.action |
| 限定符和类型 | 方法和说明 |
|---|---|
static Action |
Action.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Action[] |
Action.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
ArcEager.canDo(Action action,
State state) |
| 构造器和说明 |
|---|
LabeledAction(Action action,
int label) |
Copyright © 2014–2019 码农场. All rights reserved.