| Modifier and Type | Field and Description |
|---|---|
protected Aggregation |
aggregation
The aggregator used to aggregate the single ratings of the subset pairs.
|
protected DirectConfirmationMeasure |
confirmation
The confirmation measure used to rate the single subset pairs.
|
protected ProbabilityEstimator |
probEstimator
The probability estimator used to determine the probabilities.
|
protected Segmentator |
segmentation
The segmentation used to create the subset pairs.
|
protected Weighter |
weighter
Deprecated.
|
| Constructor and Description |
|---|
DirectConfirmationBasedCoherence(Segmentator segmentation,
ProbabilityEstimator probEstimator,
DirectConfirmationMeasure confirmation,
Aggregation aggregation) |
DirectConfirmationBasedCoherence(Segmentator segmentation,
ProbabilityEstimator probEstimator,
DirectConfirmationMeasure confirmation,
Aggregation aggregation,
Weighter weighter)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
calculateCoherences(String[][] wordsets)
Calculates the coherence for the given set of top word sets.
|
String |
getName()
Returns the name of the coherence.
|
protected Segmentator segmentation
protected ProbabilityEstimator probEstimator
protected DirectConfirmationMeasure confirmation
protected Aggregation aggregation
@Deprecated protected Weighter weighter
@Deprecated public DirectConfirmationBasedCoherence(Segmentator segmentation, ProbabilityEstimator probEstimator, DirectConfirmationMeasure confirmation, Aggregation aggregation, Weighter weighter)
public DirectConfirmationBasedCoherence(Segmentator segmentation, ProbabilityEstimator probEstimator, DirectConfirmationMeasure confirmation, Aggregation aggregation)
public double[] calculateCoherences(String[][] wordsets)
CoherencecalculateCoherences in interface Coherencewordsets - set of topic top wordsCopyright © 2014–2016. All rights reserved.