Package: mallet 1.3.1

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) <https://mimno.github.io/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 Java Virtual Machine (JVM).

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

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

# Install 'mallet' in R:
install.packages('mallet', repos = c('https://mimno.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.

On CRAN:

7.20 score 38 stars 139 scripts 946 downloads 2 mentions 24 exports 3 dependencies

Last updated 2 years agofrom:cff720fe1a. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 27 2024
R-4.5-winOKOct 27 2024
R-4.5-linuxOKOct 27 2024
R-4.4-winOKOct 27 2024
R-4.4-macOKOct 27 2024
R-4.3-winOKOct 27 2024
R-4.3-macOKOct 27 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 Oct 27 2024.

Last update: 2022-07-21
Started: 2015-09-25