edu.umass.cs.mallet.projects.seg_plus_coref.coreference
Class CorefCluster

java.lang.Object
  extended byedu.umass.cs.mallet.projects.seg_plus_coref.coreference.CorefCluster

public class CorefCluster
extends java.lang.Object


Constructor Summary
CorefCluster()
           
CorefCluster(double threshold)
           
CorefCluster(double threshold, MaxEnt classifier)
           
 
Method Summary
 java.util.Collection absoluteCluster(InstanceList ilist, java.util.List mentions)
           
 void addVerticesToGraph(salvo.jesus.graph.WeightedGraph graph, java.util.List mentions, java.util.HashMap alreadyAddedVertices)
           
 java.util.Collection clusterMentions(InstanceList ilist, java.util.List mentions)
           
static void constructEdgesUsingTrainedClusterer(salvo.jesus.graph.WeightedGraph graph, Instance instPair, java.util.HashMap alreadyAdded, MaxEnt classifier)
           
 MaxEnt getClassifier()
           
 void mergeVertices(salvo.jesus.graph.WeightedGraph g, salvo.jesus.graph.VertexImpl v1, salvo.jesus.graph.VertexImpl v2)
           
 void setThreshold(double t)
           
 void train(InstanceList ilist)
           
 java.util.Collection typicalClusterPartition(salvo.jesus.graph.WeightedGraph graph)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorefCluster

public CorefCluster()

CorefCluster

public CorefCluster(double threshold)

CorefCluster

public CorefCluster(double threshold,
                    MaxEnt classifier)
Method Detail

setThreshold

public void setThreshold(double t)

train

public void train(InstanceList ilist)

getClassifier

public MaxEnt getClassifier()

clusterMentions

public java.util.Collection clusterMentions(InstanceList ilist,
                                            java.util.List mentions)

addVerticesToGraph

public void addVerticesToGraph(salvo.jesus.graph.WeightedGraph graph,
                               java.util.List mentions,
                               java.util.HashMap alreadyAddedVertices)

absoluteCluster

public java.util.Collection absoluteCluster(InstanceList ilist,
                                            java.util.List mentions)

typicalClusterPartition

public java.util.Collection typicalClusterPartition(salvo.jesus.graph.WeightedGraph graph)

mergeVertices

public void mergeVertices(salvo.jesus.graph.WeightedGraph g,
                          salvo.jesus.graph.VertexImpl v1,
                          salvo.jesus.graph.VertexImpl v2)

constructEdgesUsingTrainedClusterer

public static void constructEdgesUsingTrainedClusterer(salvo.jesus.graph.WeightedGraph graph,
                                                       Instance instPair,
                                                       java.util.HashMap alreadyAdded,
                                                       MaxEnt classifier)