|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umass.cs.mallet.projects.seg_plus_coref.coreference.CorefClusterAdv
edu.umass.cs.mallet.projects.seg_plus_coref.coreference.MultipleCorefClusterer
Clusters multiple objects simultaneously (e.g. Authors, venues, and papers). Trains a separate MaxEnt classifier to weight edges between objects of the same type. Partitions resulting graph such that constraints between objects are respected (e.g. clustering two authors requires their venues be in the same cluster)
Nested Class Summary |
Nested classes inherited from class edu.umass.cs.mallet.projects.seg_plus_coref.coreference.CorefClusterAdv |
CorefClusterAdv.EdgeComparator, CorefClusterAdv.PseudoEdge, CorefClusterAdv.PseudoEdgeComparator, CorefClusterAdv.PseudoVertex |
Field Summary | |
static java.lang.String |
AUTHOR
|
static java.lang.String |
PAPER
Constants for the types of citation nodes |
static java.lang.String |
VENUE
|
Constructor Summary | |
MultipleCorefClusterer(Pipe[] _pipes)
|
Method Summary | |
java.util.Collection[] |
clusterMentions(InstanceList[] ilists,
java.util.List[] mentions,
int optimalBest,
boolean stochastic)
Returns a list of collections representing the clustering of "ilists" |
void |
mergeVertices(salvo.jesus.graph.WeightedGraph g,
salvo.jesus.graph.VertexImpl v1,
salvo.jesus.graph.VertexImpl v2)
This is where we enforce constraints between object types. |
java.util.Collection |
partitionGraph(salvo.jesus.graph.WeightedGraph origGraph)
Partition the graph by greed agglomerative merging. |
void |
setIndices(InstanceList[] ilists)
Sets the mapping from citation type to index |
void |
testClassifiers(InstanceList[] ilists)
|
void |
train(InstanceList[] ilists)
Train the underlying classifiers with "ilists" as trainingData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PAPER
public static final java.lang.String VENUE
public static final java.lang.String AUTHOR
Constructor Detail |
public MultipleCorefClusterer(Pipe[] _pipes)
Method Detail |
public void train(InstanceList[] ilists)
public void setIndices(InstanceList[] ilists)
public void testClassifiers(InstanceList[] ilists)
public java.util.Collection[] clusterMentions(InstanceList[] ilists, java.util.List[] mentions, int optimalBest, boolean stochastic)
public void mergeVertices(salvo.jesus.graph.WeightedGraph g, salvo.jesus.graph.VertexImpl v1, salvo.jesus.graph.VertexImpl v2)
mergeVertices
in class CorefClusterAdv
public java.util.Collection partitionGraph(salvo.jesus.graph.WeightedGraph origGraph)
partitionGraph
in class CorefClusterAdv
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |