Package edu.stanford.nlp.coref
Class CorefSystem
- java.lang.Object
-
- edu.stanford.nlp.coref.CorefSystem
-
public class CorefSystem extends Object
Class for running coreference algorithms- Author:
- Kevin Clark
-
-
Constructor Summary
Constructors Constructor Description CorefSystem(DocumentMaker docMaker, CorefAlgorithm corefAlgorithm, boolean removeSingletonClusters, boolean verbose)CorefSystem(Properties props)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidannotate(Annotation ann)voidinitLogger(Logger logger, String logFileName)static voidmain(String[] args)voidrunOnConll(Properties props)
-
-
-
Constructor Detail
-
CorefSystem
public CorefSystem(Properties props)
-
CorefSystem
public CorefSystem(DocumentMaker docMaker, CorefAlgorithm corefAlgorithm, boolean removeSingletonClusters, boolean verbose)
-
-
Method Detail
-
annotate
public void annotate(Annotation ann)
-
runOnConll
public void runOnConll(Properties props) throws Exception
- Throws:
Exception
-
-