| Modifier and Type | Method and Description |
|---|---|
ArrayList<Instance> |
CoNLLReader.readData(int limit,
boolean keepNonProjective,
boolean labeled,
boolean rootFirst,
boolean lowerCased,
IndexMaps maps)
读取句子
|
| Modifier and Type | Method and Description |
|---|---|
Configuration |
KBeamArcEagerParser.parsePartial(Instance instance,
Sentence sentence,
boolean rootFirst,
int beamWidth,
int numOfThreads) |
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 |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
ArcEagerBeamTrainer.train(ArrayList<Instance> trainData,
String devPath,
int maxIteration,
String modelPath,
boolean lowerCased,
HashSet<String> punctuations,
int partialTreeIter) |
Copyright © 2014–2021 码农场. All rights reserved.