| Modifier and Type | Method and Description |
|---|---|
static IndexMaps |
CoNLLReader.createIndices(String conllPath,
boolean labeled,
boolean lowercased,
String clusterFile)
读取CoNLL文件,创建索引
|
| 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 | Field and Description |
|---|---|
IndexMaps |
ParserModel.maps |
| Constructor and Description |
|---|
ParserModel(AveragedPerceptron perceptron,
IndexMaps maps,
ArrayList<Integer> dependencyLabels,
Options options) |
ParserModel(HashMap<Object,Float>[] shiftFeatureAveragedWeights,
HashMap<Object,Float>[] reduceFeatureAveragedWeights,
HashMap<Object,CompactArray>[] leftArcFeatureAveragedWeights,
HashMap<Object,CompactArray>[] rightArcFeatureAveragedWeights,
IndexMaps maps,
ArrayList<Integer> dependencyLabels,
Options options,
int dependencySize) |
| Modifier and Type | Field and Description |
|---|---|
protected IndexMaps |
TransitionBasedParser.maps |
| Constructor and Description |
|---|
KBeamArcEagerParser(AveragedPerceptron classifier,
ArrayList<Integer> dependencyRelations,
int featureLength,
IndexMaps maps,
int numOfThreads,
Options options) |
ParseTaggedThread(int lineNum,
String line,
String delim,
boolean rootFirst,
boolean lowerCased,
IndexMaps maps,
int beamWidth,
KBeamArcEagerParser parser) |
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.