public abstract class ChunkFeature extends ExtractionFeature
stemmer| Constructor and Description |
|---|
ChunkFeature(Collection<String> givenChunkTags) |
ChunkFeature(String... givenTokens) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract edu.washington.cs.knowitall.commonlib.Range |
rangeToExamine(ChunkedBinaryExtraction cbe) |
static ChunkFeature |
rightAfterArg2(String... chunkTags)
Get an expandablePosFeature for tokens right before arg1.
|
static ChunkFeature |
rightBeforeArg1(String... chunkTags)
Get an expandablePosFeature for tokens right before arg1.
|
protected boolean |
testAtIndex(Integer index,
ChunkedSentence sentence) |
static ChunkFeature |
withinArg2(String... chunkTags)
Get an expandablePosFeature for tokens right before arg1.
|
static ChunkFeature |
withinRel(String... chunkTags)
Get an expandablePosFeature for tokens right before arg1.
|
apply, indexOfHeadVerbpublic ChunkFeature(String... givenTokens)
public ChunkFeature(Collection<String> givenChunkTags)
protected abstract edu.washington.cs.knowitall.commonlib.Range rangeToExamine(ChunkedBinaryExtraction cbe)
rangeToExamine in class ExtractionFeatureprotected boolean testAtIndex(Integer index, ChunkedSentence sentence)
testAtIndex in class ExtractionFeaturepublic static ChunkFeature withinArg2(String... chunkTags)
posTags - public static ChunkFeature withinRel(String... chunkTags)
chunkTags - public static ChunkFeature rightBeforeArg1(String... chunkTags)
chunkTags - public static ChunkFeature rightAfterArg2(String... chunkTags)
chunkTags - Copyright © 2010-2013 University of Washington CSE. All Rights Reserved.