edu.illinois.cs.cogcomp.lbj.coref.parsers
Class ExtendHeadsParser
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ExtendHeadsParser
public ExtendHeadsParser(DocLoader loader,
ChunkDecoder headDecoder)
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()