edu.illinois.cs.cogcomp.lbj.coref.parsers
Class IntroParser
java.lang.Object
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.
Constructor Summary |
IntroParser(java.lang.String fileListFN,
IntroExEx extractor)
Adds no mentionDetectors, and therefore true mentions will be used. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
IntroParser
public IntroParser(java.lang.String fileListFN,
IntroExEx extractor)
- Adds no mentionDetectors, and therefore true mentions will be used.
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()