public class CorefCluster extends Object
| Constructor and Description |
|---|
CorefCluster() |
CorefCluster(double threshold) |
CorefCluster(double threshold,
MaxEnt classifier) |
| Modifier and Type | Method and Description |
|---|---|
Collection |
absoluteCluster(InstanceList ilist,
List mentions) |
void |
addVerticesToGraph(salvo.jesus.graph.WeightedGraph graph,
List mentions,
HashMap alreadyAddedVertices) |
Collection |
clusterMentions(InstanceList ilist,
List mentions) |
static void |
constructEdgesUsingTrainedClusterer(salvo.jesus.graph.WeightedGraph graph,
Instance instPair,
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) |
Collection |
typicalClusterPartition(salvo.jesus.graph.WeightedGraph graph) |
public CorefCluster()
public CorefCluster(double threshold)
public CorefCluster(double threshold,
MaxEnt classifier)
public void setThreshold(double t)
public void train(InstanceList ilist)
public MaxEnt getClassifier()
public Collection clusterMentions(InstanceList ilist, List mentions)
public void addVerticesToGraph(salvo.jesus.graph.WeightedGraph graph,
List mentions,
HashMap alreadyAddedVertices)
public Collection absoluteCluster(InstanceList ilist, List mentions)
public Collection typicalClusterPartition(salvo.jesus.graph.WeightedGraph graph)
public void mergeVertices(salvo.jesus.graph.WeightedGraph g,
salvo.jesus.graph.VertexImpl v1,
salvo.jesus.graph.VertexImpl v2)
Copyright © 2019 JULIE Lab, Germany. All rights reserved.