Package: mallet 1.3.0

Måns Magnusson

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.

Authors:Måns Magnusson [cre, aut], David Mimno [aut, cph]

mallet_1.3.0.tar.gz
mallet_1.3.0.tar.gz(r-4.5-noble)mallet_1.3.0.tar.gz(r-4.4-noble)
mallet_1.3.0.tgz(r-4.4-emscripten)mallet_1.3.0.tgz(r-4.3-emscripten)
mallet.pdf |mallet.html
mallet/json (API)

# Install 'mallet' in R:
install.packages('mallet', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mimno/rmallet/issues

Uses libs:
  • openjdk– OpenJDK Java runtime, using Hotspot JIT
Datasets:
  • sotu - State of the Union Adresses.

3.44 score 139 scripts 981 downloads 2 mentions 24 exports 3 dependencies

Last updated 2 years agofrom:41b0803034. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 07 2024
R-4.5-linuxOKNov 07 2024

Exports:load.mallet.instancesload.mallet.statemallet_jarmallet_stoplist_file_pathmallet_supported_stoplistsmallet.doc.topicsmallet.importmallet.jarmallet.read.dirmallet.stoplist.file.pathmallet.subset.topic.wordsmallet.supported.stoplistsmallet.top.wordsmallet.topic.hclustmallet.topic.labelsmallet.topic.model.loadmallet.topic.model.readmallet.topic.model.savemallet.topic.model.writemallet.topic.wordsmallet.word.freqsMalletLDAsave.mallet.instancessave.mallet.state

Dependencies:backportscheckmaterJava

Introduction to R mallet

Rendered frommallet.Rmdusingknitr::rmarkdownon Nov 07 2024.

Last update: 2022-07-20
Started: 2022-07-20