semantic_coherence {keyATM} | R Documentation |
Semantic Coherence: Mimno et al. (2011)
Description
Mimno, David et al. 2011. “Optimizing Semantic Coherence in Topic Models.” In Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing, Edinburgh, Scotland, UK.: Association for Computational Linguistics, 262–72. https://aclanthology.org/D11-1024.
Usage
semantic_coherence(x, docs, n = 10)
Arguments
x |
the output from a keyATM model (see |
docs |
texts read via |
n |
integer. The number terms to visualize. Default is |
Details
Equation 1 of Mimno et al. 2011 adopted to keyATM.
Value
A vector of topic coherence metric calculated by each topic.
[Package keyATM version 0.5.2 Index]