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

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

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


Field Summary
private  java.util.List<Doc> m_docs
           
private  java.util.List<ExtendHeadExample> m_examples
           
private  ChunkDecoder m_headDecoder
           
private  int m_iD
           
private  int m_iX
           
private  int m_numExamplesProcessed
           
 
Constructor Summary
ExtendHeadsParser(DocLoader loader, ChunkDecoder headDecoder)
           
 
Method Summary
 void close()
           
 void enqueue(java.lang.Object q)
           
 java.util.List<ExtendHeadExample> getExamples(Doc d)
           
protected  java.util.Set<Chunk> getTrueExtents(Doc d)
           
 ExtendHeadExample next()
           
 void reset()
           
 void resetDoc()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_headDecoder

private ChunkDecoder m_headDecoder

m_docs

private java.util.List<Doc> m_docs

m_examples

private java.util.List<ExtendHeadExample> m_examples

m_iD

private int m_iD

m_iX

private int m_iX

m_numExamplesProcessed

private int m_numExamplesProcessed
Constructor Detail

ExtendHeadsParser

public ExtendHeadsParser(DocLoader loader,
                         ChunkDecoder headDecoder)
Method Detail

getExamples

public java.util.List<ExtendHeadExample> getExamples(Doc d)

getTrueExtents

protected java.util.Set<Chunk> getTrueExtents(Doc d)

next

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

enqueue

public void enqueue(java.lang.Object q)

reset

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

close

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

resetDoc

public void resetDoc()