edu.washington.cs.knowitall.extractor
Class ReVerbExtractor
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.ReVerbExtractor
public class ReVerbExtractor
- extends ReVerbRelationExtractor
|
Constructor Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReVerbExtractor
public ReVerbExtractor()
- Explicit constructor to invoke the corresponding super's constructor
without arguments.
ReVerbExtractor
public ReVerbExtractor(int minFreq,
boolean useLexSynConstraints,
boolean mergeOverlapRels,
boolean allowUnary)
- Explicit constructor to invoke the corresponding super's constructor with
arguments.
- Parameters:
minFreq -
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.