| Package | Description |
|---|---|
| se.lth.cs.srl.corpus | |
| se.lth.cs.srl.features | |
| se.lth.cs.srl.languages | |
| se.lth.cs.srl.pipeline | |
| se.lth.cs.srl.util |
| Modifier and Type | Class and Description |
|---|---|
class |
Predicate |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<Word> |
Word.WORD_LINEAR_ORDER_COMPARATOR |
Comparator<Word> |
Sentence.wordComparator |
| Modifier and Type | Method and Description |
|---|---|
Word |
Word.getHead() |
Word |
Word.getLeftmostDep() |
Word |
Word.getLeftSibling() |
Word |
Word.getPotentialArgument() |
Word |
Word.getRightmostDep() |
Word |
Word.getRightSibling() |
| Modifier and Type | Method and Description |
|---|---|
static List<Word> |
Word.findPath(Word pred,
Word arg) |
Map<Word,String> |
Predicate.getArgMap() |
Set<Word> |
Word.getChildren() |
static List<Word> |
Word.pathToRoot(Word w) |
| Modifier and Type | Method and Description |
|---|---|
void |
Predicate.addArgMap(Word w,
String label) |
static List<Word> |
Word.findPath(Word pred,
Word arg) |
String |
Predicate.getArgumentTag(Word w) |
static List<Word> |
Word.pathToRoot(Word w) |
String |
ArgMap.put(Word arg,
String argLabel,
double prob) |
void |
Word.setHead(Word h) |
void |
Word.setPotentialArgument(Word potentialArgument) |
| Modifier and Type | Method and Description |
|---|---|
double |
ArgMap.computeScore(Map<Word,String> goldStandard) |
Yield |
Word.getYield(Predicate pred,
String argLabel,
Set<Word> argSet)
Returns the yield of this word, ie the complete phrase that defines the argument,
with respect to the predicate.
|
void |
Predicate.setArgMap(Map<Word,String> argmap) |
protected void |
Word.setChildren(HashSet<Word> children) |
| Constructor and Description |
|---|
Predicate(Word w)
Used to replace an old word with a predicate (updates dependencies).
|
Word(Word w)
Used to replace an old word with a new (updates dependencies).
|
| Constructor and Description |
|---|
ArgMap(Map<Word,String> argMap) |
| Modifier and Type | Method and Description |
|---|---|
abstract Word |
WordExtractor.getWord(Sentence s,
int predIndex,
int argIndex) |
abstract Word |
WordExtractor.getWord(Word pred,
Word arg) |
| Modifier and Type | Method and Description |
|---|---|
void |
PositionFeature.addFeatures(Collection<Integer> indices,
Predicate pred,
Word arg,
Integer offset,
boolean allWords) |
void |
ArgDependentAttrFeature.addFeatures(Collection<Integer> indices,
Predicate pred,
Word arg,
Integer offset,
boolean allWords) |
abstract void |
Feature.addFeatures(Collection<Integer> indices,
Predicate pred,
Word arg,
Integer offset,
boolean allWords) |
void |
SetFeature.addFeatures(Collection<Integer> indices,
Predicate pred,
Word arg,
Integer offset,
boolean allWords) |
void |
SingleFeature.addFeatures(Collection<Integer> indices,
Predicate pred,
Word arg,
Integer offset,
boolean allWords) |
void |
ArgDependentFeatsFeature.addFeatures(Collection<Integer> indices,
Predicate pred,
Word arg,
Integer offset,
boolean allWords) |
protected boolean |
Feature.doExtractFeatures(Word pred) |
String |
PathFeature.getFeatureString(Predicate pred,
Word arg) |
String |
PositionFeature.getFeatureString(Predicate pred,
Word arg) |
String |
ArgDependentAttrFeature.getFeatureString(Predicate pred,
Word arg) |
String |
PredDependentBrown.getFeatureString(Predicate pred,
Word arg) |
String |
PredDependentAttrFeature.getFeatureString(Predicate pred,
Word arg) |
String |
ArgDependentBrown.getFeatureString(Predicate pred,
Word arg) |
String |
DepSubCatFeature.getFeatureString(Predicate pred,
Word arg) |
abstract String |
SingleFeature.getFeatureString(Predicate pred,
Word arg) |
String |
QSingleSingleFeature.getFeatureString(Predicate pred,
Word arg) |
String[] |
ChildSetFeature.getFeatureStrings(Predicate pred,
Word arg) |
String[] |
QSingleSetFeature.getFeatureStrings(Predicate pred,
Word arg) |
String[] |
QDoubleChildSetFeature.getFeatureStrings(Predicate pred,
Word arg) |
String[] |
PredDependentFeatsFeature.getFeatureStrings(Predicate pred,
Word arg) |
abstract String[] |
SetFeature.getFeatureStrings(Predicate pred,
Word arg) |
String[] |
ArgDependentFeatsFeature.getFeatureStrings(Predicate pred,
Word arg) |
abstract Word |
WordExtractor.getWord(Word pred,
Word arg) |
String |
PathFeature.makeFeatureString(Word pred,
Word arg) |
| Modifier and Type | Method and Description |
|---|---|
String |
English.getCoreArgumentLabelSequence(Predicate pred,
Map<Word,String> proposition) |
String |
German.getCoreArgumentLabelSequence(Predicate pred,
Map<Word,String> proposition) |
String |
Chinese.getCoreArgumentLabelSequence(Predicate pred,
Map<Word,String> proposition) |
String |
Spanish.getCoreArgumentLabelSequence(Predicate pred,
Map<Word,String> proposition) |
String |
AbstractDummyLanguage.getCoreArgumentLabelSequence(Predicate pred,
Map<Word,String> proposition) |
abstract String |
Language.getCoreArgumentLabelSequence(Predicate pred,
Map<Word,String> proposition) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ArgumentStep.addInstance(Predicate pred,
Word arg) |
Integer |
ArgumentStep.classifyInstance(Predicate pred,
Word arg) |
protected Collection<Integer> |
ArgumentStep.collectIndices(Predicate pred,
Word arg,
String POSPrefix,
Collection<Integer> indices) |
protected Integer |
ArgumentIdentifier.getLabel(Predicate pred,
Word arg) |
protected Integer |
ArgumentClassifier.getLabel(Predicate pred,
Word arg) |
protected abstract Integer |
ArgumentStep.getLabel(Predicate pred,
Word arg) |
| Modifier and Type | Method and Description |
|---|---|
String |
Sentence2RDF.makeArgString(Map<Word,String> argMap) |
Copyright © 2016. All rights reserved.