Keyword Assisted Topic Model

Fits keyword assisted topic models (keyATM) using collapsed Gibbs samplers. The keyATM combines the latent dirichlet allocation (LDA) models with a small number of keywords selected by researchers in order to improve the interpretability and topic classification of the LDA. The keyATM can also incorporate covariates and directly model time trends. The keyATM is proposed in Eshima, Imai, and Sasaki (2020) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.4.0 by Shusei Eshima, 3 months ago

Report a bug at

Browse source code at

Authors: Shusei Eshima [aut, cre] , Tomoya Sasaki [aut] , William Lowe [ctb] , Kosuke Imai [aut] , Chung-hong Chan [ctb] , Romain Fran├žois [ctb]

Documentation:   PDF Manual  

GPL-3 license

Imports Rcpp, dplyr, fastmap, future.apply, ggplot2, ggrepel, magrittr, Matrix, matrixNormal, MASS, pgdraw, purrr, quanteda, rlang, stats, stringr, tibble, tidyr

Suggests readtext, testthat

Linking to Rcpp, RcppEigen, RcppProgress

System requirements: C++11

Suggested by oolong.

See at CRAN