public abstract class ExtractionFeature extends Object implements com.google.common.base.Predicate<ChunkedBinaryExtraction>
| Modifier and Type | Field and Description |
|---|---|
protected BasicFieldNormalizer |
stemmer |
| Modifier | Constructor and Description |
|---|---|
protected |
ExtractionFeature() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(ChunkedBinaryExtraction cbe) |
static Integer |
indexOfHeadVerb(ChunkedExtraction relation,
boolean exception)
Implements the following naive algorithm for locating the head verb
within a verb phrase:
1. |
protected abstract edu.washington.cs.knowitall.commonlib.Range |
rangeToExamine(ChunkedBinaryExtraction cbe) |
protected abstract boolean |
testAtIndex(Integer index,
ChunkedSentence sentence) |
protected BasicFieldNormalizer stemmer
protected abstract edu.washington.cs.knowitall.commonlib.Range rangeToExamine(ChunkedBinaryExtraction cbe)
public boolean apply(ChunkedBinaryExtraction cbe)
apply in interface com.google.common.base.Predicate<ChunkedBinaryExtraction>protected abstract boolean testAtIndex(Integer index, ChunkedSentence sentence)
public static Integer indexOfHeadVerb(ChunkedExtraction relation, boolean exception)
relation - Copyright © 2010-2013 University of Washington CSE. All Rights Reserved.