Class Clusterer
- java.lang.Object
-
- edu.stanford.nlp.coref.statistical.Clusterer
-
public class Clusterer extends Object
System for building up coreference clusters incrementally, merging a pair of clusters each step. Trained with a variant of the SEARN imitation learning algorithm.- Author:
- Kevin Clark
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterer.Cluster
-
Field Summary
Fields Modifier and Type Field Description static intcurrentDocIdstatic intisTraining
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoTraining(String modelName)List<Pair<Integer,Integer>>getClusterMerges(ClustererDataLoader.ClustererDoc doc)
-
-
-
Constructor Detail
-
Clusterer
public Clusterer()
-
Clusterer
public Clusterer(String modelPath)
-
-