| Package | Description |
|---|---|
| com.hankcs.hanlp.dependency.perceptron.transition.configuration | |
| com.hankcs.hanlp.dependency.perceptron.transition.parser |
| Modifier and Type | Method and Description |
|---|---|
int |
BeamElement.compareTo(BeamElement beamElement) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<BeamElement> |
BeamScorerThread.call() |
ArrayList<BeamElement> |
PartialTreeBeamScorerThread.call() |
| Modifier and Type | Method and Description |
|---|---|
static void |
PartialTreeBeamScorerThread.addAvailableBeamElements(ArrayList<BeamElement> elements,
float prevScore,
boolean canShift,
boolean canReduce,
boolean canRightArc,
boolean canLeftArc,
Object[] features,
AveragedPerceptron classifier,
boolean isDecode,
int b,
ArrayList<Integer> dependencyRelations) |
static void |
ParseThread.sortBeam(ArrayList<Configuration> beam,
TreeSet<BeamElement> beamPreserver,
Boolean isNonProjective,
Instance instance,
int beamWidth,
boolean rootFirst,
int featureLength,
AveragedPerceptron classifier,
Collection<Integer> dependencyRelations) |
Copyright © 2014–2021 码农场. All rights reserved.