| Modifier and Type | Method and Description |
|---|---|
Configuration |
Configuration.clone() |
| Modifier and Type | Method and Description |
|---|---|
static Object[] |
FeatureExtractor.extractAllParseFeatures(Configuration configuration,
int length)
Given a list of templates, extracts all features for the given state
|
| Modifier and Type | Method and Description |
|---|---|
Configuration |
KBeamArcEagerParser.parse(Sentence sentence) |
Configuration |
KBeamArcEagerParser.parse(Sentence sentence,
boolean rootFirst,
int beamWidth,
int numOfThreads) |
Configuration |
KBeamArcEagerParser.parse(String[] words,
String[] tags) |
Configuration |
KBeamArcEagerParser.parse(String[] words,
String[] tags,
boolean rootFirst,
int beamWidth,
int numOfThreads) |
Configuration |
ParseThread.parsePartial() |
Configuration |
KBeamArcEagerParser.parsePartial(Instance instance,
Sentence sentence,
boolean rootFirst,
int beamWidth,
int numOfThreads) |
| Modifier and Type | Method and Description |
|---|---|
Pair<Configuration,Integer> |
ParseThread.call() |
| Modifier and Type | Method and Description |
|---|---|
void |
IAction.commit(int relation,
float score,
int relationSize,
Configuration config) |
static void |
ArcEager.commitAction(int action,
int label,
float score,
ArrayList<Integer> dependencyRelations,
Configuration newConfig) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ArcEager.isTerminal(ArrayList<Configuration> beam)
Shows true if all of the configurations in the beam are in the terminal state
|
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) |
PartialTreeBeamScorerThread(boolean isDecode,
AveragedPerceptron classifier,
Instance instance,
Configuration configuration,
ArrayList<Integer> dependencyRelations,
int featureLength,
int b) |
Copyright © 2014–2021 码农场. All rights reserved.