Package org.aksw.palmetto
Interface Coherence
- All Known Implementing Classes:
DirectConfirmationBasedCoherence,VectorBasedCoherence
public interface Coherence
A coherence measure calculates the coherence of a given set of top word sets.
- Author:
- Michael Röder
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]calculateCoherences(String[][] wordsets)Calculates the coherence for the given set of top word sets.getName()Returns the name of the coherence.
-
Method Details
-
calculateCoherences
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
-