Crandore Hub

mallet

An R Wrapper for the Java Mallet Topic Modeling Toolkit

An R interface for the Java Machine Learning for Language Toolkit (mallet) <http://mallet.cs.umass.edu/> 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.

README

English stoplist is the standard Mallet stoplist.

German, French, Finnish are borrowed from http://www.ranks.nl.

Versions across snapshots

VersionRepositoryFileSize
1.3.0 2026-04-09 windows/windows R-4.5 mallet_1.3.0.zip 3.8 MiB

Dependencies (latest)

Imports

Suggests