Package org.aksw.palmetto
Interface Coherence
-
- All Known Implementing Classes:
DirectConfirmationBasedCoherence,VectorBasedCoherence
public interface CoherenceA coherence measure calculates the coherence of a given set of top word sets.- Author:
- Michael Röder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double[]calculateCoherences(String[][] wordsets)Calculates the coherence for the given set of top word sets.StringgetName()Returns the name of the coherence.
-
-
-
Method Detail
-
calculateCoherences
double[] calculateCoherences(String[][] wordsets)
Calculates the coherence for the given set of top word sets.- Parameters:
wordsets- set of topic top words- Returns:
- a double array containing the coherences for the given top word sets.
-
getName
String getName()
Returns the name of the coherence.- Returns:
- the name of the coherence
-
-