public class CorefCluster2 extends Object
| Constructor and Description |
|---|
CorefCluster2() |
CorefCluster2(MaxEnt classifier,
Pipe instancePipe) |
| Modifier and Type | Method and Description |
|---|---|
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 |
train(InstanceList ilist,
List mentions) |
Collection |
typicalClusterPartition(salvo.jesus.graph.WeightedGraph graph) |
public void train(InstanceList ilist, List mentions)
public MaxEnt getClassifier()
public Collection clusterMentions(InstanceList ilist, List mentions)
public void addVerticesToGraph(salvo.jesus.graph.WeightedGraph graph,
List mentions,
HashMap alreadyAddedVertices)
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.