| Modifier and Type | Method and Description |
|---|---|
Sentence |
IndexMaps.makeSentence(String[] words,
String[] posTags,
boolean rootFirst,
boolean lowerCased)
将句子中的字符串转换为id
|
| Modifier and Type | Field and Description |
|---|---|
Sentence |
Configuration.sentence |
protected Sentence |
Instance.sentence |
| Modifier and Type | Method and Description |
|---|---|
Sentence |
Instance.getSentence() |
| Constructor and Description |
|---|
Configuration(Sentence sentence) |
Configuration(Sentence sentence,
boolean rootFirst) |
Instance(Sentence sentence,
HashMap<Integer,Edge> goldDependencies) |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
KBeamArcEagerParser.parse(Sentence sentence) |
Configuration |
KBeamArcEagerParser.parse(Sentence sentence,
boolean rootFirst,
int beamWidth,
int numOfThreads) |
Configuration |
KBeamArcEagerParser.parsePartial(Instance instance,
Sentence sentence,
boolean rootFirst,
int beamWidth,
int numOfThreads) |
| Constructor and Description |
|---|
ParseThread(int id,
AveragedPerceptron classifier,
ArrayList<Integer> dependencyRelations,
int featureLength,
Sentence sentence,
boolean rootFirst,
int beamWidth,
Instance instance,
boolean partial) |
Copyright © 2014–2021 码农场. All rights reserved.