edu.washington.cs.knowitall.extractor
Class R2A2
java.lang.Object
edu.washington.cs.knowitall.extractor.Extractor<ChunkedSentence,ChunkedBinaryExtraction>
edu.washington.cs.knowitall.extractor.RelationFirstNpChunkExtractor
edu.washington.cs.knowitall.extractor.ReVerbRelationExtractor
edu.washington.cs.knowitall.extractor.R2A2
public class R2A2
- extends ReVerbRelationExtractor
|
Constructor Summary |
R2A2()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
R2A2
public R2A2()
initializeArgumentExtractors
protected void initializeArgumentExtractors()
- Specified by:
initializeArgumentExtractors in class ReVerbRelationExtractor
main
public static void main(String[] args)
throws Exception
- Runs the extractor on either standard input, or the given file. Uses the
object returned by the
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.
- Parameters:
args -
- Throws:
Exception
Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.