| Modifier and Type | Method and Description |
|---|---|
boolean |
PatternExtractor.adjRelation(ChunkedExtraction extr) |
boolean |
PatternExtractor.appClause(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.complementClause(ChunkedExtraction extr) |
boolean |
PatternExtractor.compoundVerb(ChunkedExtraction extr) |
boolean |
PatternExtractor.doubleNP(ChunkedExtraction extr) |
protected Iterable<ChunkedArgumentExtraction> |
ArgLearner.extractCandidates(ChunkedExtraction predicate) |
String |
ArgSubstructureFeatureGenerator.extractCRFFeatures(ChunkedExtraction extr,
int argstart,
int argend,
Boolean train) |
DoubleFeatures |
Arg1LocationFeatureGenerator.extractFeatures(ChunkedExtraction extr,
ChunkedArgumentExtraction arg1,
int current,
boolean train) |
boolean |
PatternExtractor.findSubj(ChunkedExtraction extr,
int i) |
double[] |
ArgLocationClassifier.getArgBound(ChunkedExtraction predicate) |
double[] |
ArgSubstructureClassifier.getArgBound(ChunkedExtraction predicate,
int other_bound) |
boolean |
PatternExtractor.getCapitalized(ChunkedExtraction extr,
int current) |
static List<ChunkedSentenceToken> |
PatternExtractor.getChunkedSentenceFromPred(ChunkedExtraction extr) |
static List<ChunkedSentenceToken> |
PatternExtractor.getChunkedSentenceFromPredEnd(ChunkedExtraction extr) |
boolean |
PatternExtractor.getInterveningConj(ChunkedExtraction extr,
int current) |
int |
PatternExtractor.getInterveningNPCount(ChunkedExtraction extr,
int k) |
int |
PatternExtractor.getNPCountBefore(ChunkedExtraction extr,
int current) |
static int |
PatternExtractor.getNPToEndCount(ChunkedExtraction extr,
int current) |
int |
PatternExtractor.getPunctuationCount(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.ifClause(ChunkedExtraction extr) |
boolean |
PatternExtractor.infinitiveClause(ChunkedExtraction extr) |
static boolean |
PatternExtractor.inNPList(ChunkedExtraction extr,
int current) |
static boolean |
PatternExtractor.inPPList(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.matchesAppositiveClause(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.matchesAppositiveClause2(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.matchesAppositiveStrict(ChunkedExtraction extr) |
boolean |
PatternExtractor.matchesCommaBeforeVerb(ChunkedExtraction extr) |
boolean |
PatternExtractor.matchesList(ChunkedExtraction extr,
int argend,
int current) |
boolean |
PatternExtractor.matchesListStrict(ChunkedExtraction extr) |
boolean |
PatternExtractor.matchesNPList(ChunkedExtraction extr) |
boolean |
PatternExtractor.matchesNPVerb(ChunkedExtraction extr) |
boolean |
PatternExtractor.matchesObj(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.matchesPPBeforeVerb(ChunkedExtraction extr) |
boolean |
PatternExtractor.matchesQuotes(ChunkedExtraction extr) |
boolean |
PatternExtractor.matchesRelativeClause(ChunkedExtraction extr,
int argend) |
boolean |
PatternExtractor.matchesStatement(ChunkedExtraction extr) |
boolean |
PatternExtractor.matchesToVerb(ChunkedExtraction extr,
boolean debug) |
boolean |
PatternExtractor.matchesVerbConjSimple(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.nestedRelation1(ChunkedExtraction extr) |
boolean |
PatternExtractor.nestedRelation2(ChunkedExtraction extr) |
boolean |
PatternExtractor.nextIsDash(ChunkedExtraction extr,
int current) |
static boolean |
PatternExtractor.nextisNP(ChunkedExtraction extr,
int current) |
static boolean |
PatternExtractor.nextIsPP(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.nextIsThat(ChunkedExtraction extr,
int current) |
static boolean |
PatternExtractor.nextIsVP(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.nextNPWhich(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.npInfinitiveClause(ChunkedExtraction extr) |
boolean |
PatternExtractor.npRelativeClause(ChunkedExtraction extr) |
boolean |
PatternExtractor.objNestedClause(ChunkedExtraction extr) |
static boolean |
PatternExtractor.previousIsOf(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.prevStop(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.quotesSubj(ChunkedExtraction extr,
int i) |
boolean |
PatternExtractor.relClause(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.relSubj(ChunkedExtraction extr,
int i) |
boolean |
PatternExtractor.simpleSubj(ChunkedExtraction extr,
int i) |
boolean |
PatternExtractor.startsList(ChunkedExtraction extr) |
boolean |
PatternExtractor.vbgIsNext(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.vpStartsWithTo(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.wordAfterIsVP(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.wordBeforeIsVP(ChunkedExtraction extr,
int current) |
boolean |
PatternExtractor.wordBeforePredIsConj(ChunkedExtraction extr,
int current) |
| Modifier and Type | Field and Description |
|---|---|
protected Extractor<ChunkedExtraction,ChunkedArgumentExtraction> |
RelationFirstNpChunkExtractor.arg1Extr |
protected Extractor<ChunkedExtraction,ChunkedArgumentExtraction> |
RelationFirstNpChunkExtractor.arg2Extr |
protected Extractor<ChunkedSentence,ChunkedExtraction> |
RelationFirstNpChunkExtractor.relExtr |
| Modifier and Type | Method and Description |
|---|---|
Collection<ChunkedExtraction> |
RegexExtractor.extractCandidates(ChunkedSentence sentence) |
Extractor<ChunkedExtraction,ChunkedArgumentExtraction> |
RelationFirstNpChunkExtractor.getArgument1Extractor() |
Extractor<ChunkedExtraction,ChunkedArgumentExtraction> |
RelationFirstNpChunkExtractor.getArgument2Extractor() |
Extractor<ChunkedSentence,ChunkedExtraction> |
RelationFirstNpChunkExtractor.getRelationExtractor() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<ChunkedArgumentExtraction> |
ChunkedArgumentExtractor.extractCandidates(ChunkedExtraction rel) |
| Modifier and Type | Method and Description |
|---|---|
void |
RelationFirstNpChunkExtractor.setArgument1Extractor(Extractor<ChunkedExtraction,ChunkedArgumentExtraction> arg1Extr)
Sets the argument1 extractor.
|
void |
RelationFirstNpChunkExtractor.setArgument2Extractor(Extractor<ChunkedExtraction,ChunkedArgumentExtraction> arg2Extr)
Sets the argument2 extractor.
|
void |
RelationFirstNpChunkExtractor.setRelationExtractor(Extractor<ChunkedSentence,ChunkedExtraction> relExtr)
Sets the relation extractor.
|
| Constructor and Description |
|---|
LabeledBinaryExtraction(ChunkedExtraction relation,
ChunkedArgumentExtraction argument1,
ChunkedArgumentExtraction argument2,
int label)
Constructs a new LabeledBinaryExtraction with the given label
|
| Modifier and Type | Method and Description |
|---|---|
static Integer |
ExtractionFeature.indexOfHeadVerb(ChunkedExtraction relation,
boolean exception)
Implements the following naive algorithm for locating the head verb
within a verb phrase:
1. |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<ChunkedExtraction> |
MergeOverlappingMapper.doMap(Iterable<ChunkedExtraction> extrs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
StopListFilter.doFilter(ChunkedExtraction extr) |
boolean |
ReVerbRelationDictionaryFilter.doFilter(ChunkedExtraction extr) |
boolean |
NormalizedRelationDictionaryFilter.doFilter(ChunkedExtraction extr)
Returns true if the tokens in the given extraction appear in the set of
relations passed to the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<ChunkedExtraction> |
MergeOverlappingMapper.doMap(Iterable<ChunkedExtraction> extrs) |
| Modifier and Type | Class and Description |
|---|---|
class |
ChunkedArgumentExtraction
A class representing a noun phrase argument of a relation.
|
| Modifier and Type | Method and Description |
|---|---|
ChunkedExtraction |
SpanExtraction.getField(int i) |
ChunkedExtraction |
SpanExtraction.getField(String name) |
ChunkedExtraction |
ChunkedArgumentExtraction.getRelation() |
ChunkedExtraction |
ChunkedBinaryExtraction.getRelation() |
| Modifier and Type | Method and Description |
|---|---|
List<ChunkedExtraction> |
SpanExtraction.getFields() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ChunkedExtraction.isAdjacentOrOverlaps(ChunkedExtraction extr) |
boolean |
ChunkedExtraction.overlapsWith(ChunkedExtraction extr) |
static Collection<ChunkedBinaryExtraction> |
ChunkedBinaryExtraction.productOfArgs(ChunkedExtraction rel,
Iterable<? extends ChunkedArgumentExtraction> arg1s,
Iterable<? extends ChunkedArgumentExtraction> arg2s)
Given a collection of arg1s, a collection of arg2s, and a relation,
returns all (arg1, rel, arg2) extractions, where arg1 and arg2 range over
the given collections.
|
static Collection<ChunkedBinaryExtraction> |
ChunkedBinaryExtraction.productOfArgs(ChunkedExtraction rel,
Iterable<? extends ChunkedArgumentExtraction> arg1s,
Iterable<? extends ChunkedArgumentExtraction> arg2s,
boolean allowUnaryRelations)
Given a collection of arg1s, a collection of arg2s, and a relation,
returns all (arg1, rel, arg2) extractions, where arg1 and arg2 range over
the given collections.
|
| Constructor and Description |
|---|
ChunkedArgumentExtraction(ChunkedSentence sent,
edu.washington.cs.knowitall.commonlib.Range range,
ChunkedExtraction relation)
Constructs a new
NpChunkArgumentExtraction from
sent for relation. |
ChunkedArgumentExtraction(ChunkedSentence sent,
edu.washington.cs.knowitall.commonlib.Range range,
ChunkedExtraction relation,
double confidence) |
ChunkedArgumentExtraction(ChunkedSentence sent,
edu.washington.cs.knowitall.commonlib.Range range,
ChunkedExtraction relation,
String string) |
ChunkedBinaryExtraction(ChunkedExtraction rel,
ChunkedArgumentExtraction arg1,
ChunkedArgumentExtraction arg2)
Constructs a new instance using the given relation and arguments.
|
SpanExtraction(ChunkedExtraction[] fields)
Constructs a new extraction from the given
ChunkedExtractions. |
SpanExtraction(ChunkedExtraction[] fields,
String[] fieldNames)
Constructs a new extraction from the given
ChunkedExtractions. |
| Constructor and Description |
|---|
SpanExtraction(List<ChunkedExtraction> fields)
Constructs a new extraction from the given
ChunkedExtractions. |
SpanExtraction(List<ChunkedExtraction> fields,
List<String> fieldNames)
Constructs a new extraction from the given
ChunkedExtractions. |
| Modifier and Type | Method and Description |
|---|---|
ChunkedExtraction |
NormalizedField.getOriginalField() |
| Modifier and Type | Method and Description |
|---|---|
NormalizedField |
BinaryExtractionNormalizer.normalizeArgument(ChunkedExtraction arg)
Normalizes the given argument
|
NormalizedField |
BasicFieldNormalizer.normalizeField(ChunkedExtraction field) |
NormalizedField |
FieldNormalizer.normalizeField(ChunkedExtraction field) |
NormalizedField |
ArgumentNormalizer.normalizeField(ChunkedExtraction field) |
NormalizedField |
VerbalRelationNormalizer.normalizeField(ChunkedExtraction field)
Normalizes the given field.
|
NormalizedField |
HeadNounNormalizer.normalizeField(ChunkedExtraction field) |
NormalizedField |
HeadNounExtractor.normalizeField(ChunkedExtraction field) |
NormalizedField |
BinaryExtractionNormalizer.normalizeRelation(ChunkedExtraction rel)
Normalizes the given relation phrase
|
| Constructor and Description |
|---|
NormalizedField(ChunkedExtraction original,
List<String> tokens,
List<String> posTags) |
NormalizedField(ChunkedExtraction original,
String[] tokens,
String[] posTags) |
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,List<ChunkedExtraction>> |
AdjacentExtractionGrouper.groupExtractions(Collection<ChunkedExtraction> extractions) |
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,List<ChunkedExtraction>> |
AdjacentExtractionGrouper.groupExtractions(Collection<ChunkedExtraction> extractions) |
Copyright © 2010-2013 University of Washington CSE. All Rights Reserved.