public class ReVerbExtractor extends ReVerbRelationExtractor
LONG_RELATION_PATTERN, PREP, SHORT_RELATION_PATTERN, VERB, WORDallowUnary, arg1Extr, arg2Extr, relExtr| Constructor and Description |
|---|
ReVerbExtractor()
Explicit constructor to invoke the corresponding super's constructor
without arguments.
|
ReVerbExtractor(int minFreq,
boolean useLexSynConstraints,
boolean mergeOverlapRels,
boolean allowUnary)
Explicit constructor to invoke the corresponding super's constructor with
arguments.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
initializeArgumentExtractors() |
static void |
main(String[] args)
Runs the extractor on either standard input, or the given file.
|
extractFromHtml, extractFromString, initializeRelationExtractor, initializeRelationExtractorextractCandidates, getArgument1Extractor, getArgument2Extractor, getRelationExtractor, setAllowUnary, setArgument1Extractor, setArgument2Extractor, setRelationExtractoraddMapper, compose, extract, getMapperspublic ReVerbExtractor()
public ReVerbExtractor(int minFreq,
boolean useLexSynConstraints,
boolean mergeOverlapRels,
boolean allowUnary)
minFreq - protected void initializeArgumentExtractors()
initializeArgumentExtractors in class ReVerbRelationExtractorpublic static void main(String[] args) throws Exception
DefaultObjects.getDefaultSentenceReaderHtml method to read NpChunkedSentence
objects. Prints each sentence (prefixed by "sentence" and then a tab), followed by the extractions in the
form "extraction", arg1, relation, and arg2, separated by tabs.args - ExceptionCopyright © 2010-2013 University of Washington CSE. All Rights Reserved.