public class R2A2 extends ReVerbRelationExtractor
LONG_RELATION_PATTERN, PREP, SHORT_RELATION_PATTERN, VERB, WORDallowUnary, arg1Extr, arg2Extr, relExtr| Constructor and Description |
|---|
R2A2() |
| 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, getMappersprotected 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.