| Modifier and Type | Field and Description |
|---|---|
protected Aggregation |
aggregation
The aggregator used to aggregate the single ratings of the subset pairs.
|
protected VectorBasedConfirmationMeasure |
confirmation
The confirmation measure used to rate the single subset pairs.
|
protected Segmentator |
segmentator
The segmentation scheme used to create the subset pairs.
|
protected VectorCreator |
vectorCreator
The vector creator used to determine the vectors for the given words.
|
protected Weighter |
weighter
Deprecated.
|
| Constructor and Description |
|---|
VectorBasedCoherence(Segmentator segmentator,
VectorCreator vectorCreator,
VectorBasedConfirmationMeasure confirmation,
Aggregation aggregation) |
VectorBasedCoherence(Segmentator segmentator,
VectorCreator vectorCreator,
VectorBasedConfirmationMeasure 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 segmentator
protected VectorCreator vectorCreator
protected VectorBasedConfirmationMeasure confirmation
protected Aggregation aggregation
@Deprecated protected Weighter weighter
@Deprecated public VectorBasedCoherence(Segmentator segmentator, VectorCreator vectorCreator, VectorBasedConfirmationMeasure confirmation, Aggregation aggregation, Weighter weighter)
public VectorBasedCoherence(Segmentator segmentator, VectorCreator vectorCreator, VectorBasedConfirmationMeasure confirmation, Aggregation aggregation)
public double[] calculateCoherences(String[][] wordsets)
CoherencecalculateCoherences in interface Coherencewordsets - set of topic top wordsCopyright © 2014–2016. All rights reserved.