edu.illinois.cs.cogcomp.lbj.coref.parsers
Class IntroParser

java.lang.Object
  extended by edu.illinois.cs.cogcomp.lbj.coref.parsers.IntroParser
All Implemented Interfaces:
LBJ2.parse.Parser

public class IntroParser
extends java.lang.Object
implements LBJ2.parse.Parser

TODO: Refactor this code, its parents and siblings.


Field Summary
private  java.util.List<Doc> m_docs
           
private  java.util.List<IntroExample> m_examples
           
(package private)  IntroExEx m_exExtractor
           
private  int m_iD
           
private  int m_iX
           
 
Constructor Summary
IntroParser(java.lang.String fileListFN, IntroExEx extractor)
          Adds no mentionDetectors, and therefore true mentions will be used.
 
Method Summary
private  void advanceDoc()
           
protected  void cleanup()
           
 void close()
           
 void enqueue(java.lang.Object q)
           
private  java.util.List<IntroExample> getExamples(int iD)
           
private  IntroExample getNextExample()
           
 IntroExample next()
           
 void reset()
           
private  void resetDoc()
           
protected  void startup(DocLoader loader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_docs

private java.util.List<Doc> m_docs

m_exExtractor

IntroExEx m_exExtractor

m_examples

private java.util.List<IntroExample> m_examples

m_iD

private int m_iD

m_iX

private int m_iX
Constructor Detail

IntroParser

public IntroParser(java.lang.String fileListFN,
                   IntroExEx extractor)
Adds no mentionDetectors, and therefore true mentions will be used.

Method Detail

next

public IntroExample next()
Specified by:
next in interface LBJ2.parse.Parser

getNextExample

private IntroExample getNextExample()

advanceDoc

private void advanceDoc()

resetDoc

private void resetDoc()

getExamples

private java.util.List<IntroExample> getExamples(int iD)

reset

public void reset()
Specified by:
reset in interface LBJ2.parse.Parser

close

public void close()
Specified by:
close in interface LBJ2.parse.Parser

enqueue

public void enqueue(java.lang.Object q)

startup

protected void startup(DocLoader loader)

cleanup

protected void cleanup()