mallet: An R Wrapper for the Java Mallet Topic Modeling Toolkit

An R interface for the Java Machine Learning for Language Toolkit (mallet) <> to estimate probabilistic topic models, such as Latent Dirichlet Allocation. We can use the R package to read textual data into mallet from R objects, run the Java implementation of mallet directly in R, and extract results as R objects. The Mallet toolkit has many functions, this wrapper focuses on the topic modeling sub-package written by David Mimno. The package uses the rJava package to connect to a JVM.

Version: 1.3.0
Depends: R (≥ 3.6.3)
Imports: rJava, checkmate
Suggests: knitr, rmarkdown, dplyr, testthat
Published: 2022-07-20
DOI: 10.32614/CRAN.package.mallet
Author: Måns Magnusson ORCID iD [cre, aut], David Mimno ORCID iD [aut, cph]
Maintainer: Måns Magnusson <mons.magnusson at>
License: MIT + file LICENSE
NeedsCompilation: no
SystemRequirements: java
CRAN checks: mallet results


Reference manual: mallet.pdf
Vignettes: mallet


Package source: mallet_1.3.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): mallet_1.3.0.tgz, r-oldrel (arm64): mallet_1.3.0.tgz, r-release (x86_64): mallet_1.3.0.tgz, r-oldrel (x86_64): mallet_1.3.0.tgz
Old sources: mallet archive

Reverse dependencies:

Reverse suggests: LDAvis, tidytext


Please use the canonical form to link to this page.