edu.illinois.cs.cogcomp.lbj.coref.exampleExtractors
Class DocFilteredBatchExEx<T>

java.lang.Object
  extended by edu.illinois.cs.cogcomp.lbj.coref.exampleExtractors.ExampleExtractor<T>
      extended by edu.illinois.cs.cogcomp.lbj.coref.exampleExtractors.BatchExExtractor<T>
          extended by edu.illinois.cs.cogcomp.lbj.coref.exampleExtractors.FilteredBatchExExtractor<T>
              extended by edu.illinois.cs.cogcomp.lbj.coref.exampleExtractors.DocFilteredBatchExEx<T>
Type Parameters:
T - The type of example to extract.
All Implemented Interfaces:
DocExampleExtractor<T>, LBJ2.parse.Parser
Direct Known Subclasses:
CExampleExtractorBasic, IntroExEx

public abstract class DocFilteredBatchExEx<T>
extends FilteredBatchExExtractor<T>
implements DocExampleExtractor<T>

Extracts examples from a document using a batch process.

Author:
Eric Bengtson

Field Summary
protected  Doc m_doc
           
 
Constructor Summary
DocFilteredBatchExEx()
           
 
Method Summary
 boolean doFiltersAccept(T o)
          Indicates whether all applicable filters accept the example.
 Doc getDoc()
          Get the document
 void setDoc(Doc doc)
          Sets the document and resets the extractor.
 
Methods inherited from class edu.illinois.cs.cogcomp.lbj.coref.exampleExtractors.FilteredBatchExExtractor
getExamples, getFilterAccepted
 
Methods inherited from class edu.illinois.cs.cogcomp.lbj.coref.exampleExtractors.BatchExExtractor
generateAllExamples, getNextCached, next, recordEquivalence, reset
 
Methods inherited from class edu.illinois.cs.cogcomp.lbj.coref.exampleExtractors.ExampleExtractor
close, enqueue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.illinois.cs.cogcomp.lbj.coref.exampleExtractors.DocExampleExtractor
getExamples, next, recordEquivalence, reset
 
Methods inherited from interface LBJ2.parse.Parser
close
 

Field Detail

m_doc

protected Doc m_doc
Constructor Detail

DocFilteredBatchExEx

public DocFilteredBatchExEx()
Method Detail

getDoc

public Doc getDoc()
Get the document

Specified by:
getDoc in interface DocExampleExtractor<T>
Returns:
The document.

setDoc

public void setDoc(Doc doc)
Sets the document and resets the extractor.

Specified by:
setDoc in interface DocExampleExtractor<T>
Parameters:
doc - The document.

doFiltersAccept

public boolean doFiltersAccept(T o)
Indicates whether all applicable filters accept the example.

Specified by:
doFiltersAccept in class FilteredBatchExExtractor<T>
Parameters:
o - The example.
Returns:
Whether to accept the example.