| Constructor and Description |
|---|
ParserModel(AveragedPerceptron perceptron,
IndexMaps maps,
ArrayList<Integer> dependencyLabels,
Options options) |
| Modifier and Type | Field and Description |
|---|---|
protected AveragedPerceptron |
TransitionBasedParser.classifier
Any kind of classifier that can give us scores
|
| 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) |
| Constructor and Description |
|---|
BeamScorerThread(boolean isDecode,
AveragedPerceptron classifier,
Configuration configuration,
ArrayList<Integer> dependencyRelations,
int featureLength,
int b,
boolean rootFirst) |
KBeamArcEagerParser(AveragedPerceptron classifier,
ArrayList<Integer> dependencyRelations,
int featureLength,
IndexMaps maps,
int numOfThreads,
Options options) |
ParseThread(int id,
AveragedPerceptron classifier,
ArrayList<Integer> dependencyRelations,
int featureLength,
Sentence sentence,
boolean rootFirst,
int beamWidth,
Instance instance,
boolean partial) |
PartialTreeBeamScorerThread(boolean isDecode,
AveragedPerceptron classifier,
Instance instance,
Configuration configuration,
ArrayList<Integer> dependencyRelations,
int featureLength,
int b) |
TransitionBasedParser(AveragedPerceptron classifier,
ArrayList<Integer> dependencyRelations,
int featureLength,
IndexMaps maps) |
| Constructor and Description |
|---|
ArcEagerBeamTrainer(String updateMode,
AveragedPerceptron classifier,
Options options,
ArrayList<Integer> dependencyRelations,
int featureLength,
IndexMaps maps) |
Copyright © 2014–2021 码农场. All rights reserved.