Learn R Programming

⚠️There's a newer version (1.3.0) of this package.Take me there.

mallet (version 1.0)

A wrapper around the Java machine learning tool MALLET

Description

This package allows you to train topic models in mallet and load results directly into R.

Copy Link

Version

Install

install.packages('mallet')

Monthly Downloads

5,147

Version

1.0

License

MIT + file LICENSE

Maintainer

David Mimno

Last Published

August 9th, 2013

Functions in mallet (1.0)

mallet.topic.words

Retrieve a matrix of words weights for topics
mallet-package

An R wrapper for the Mallet topic modeling package
mallet.word.freqs

Descriptive statistics of word frequencies
mallet.topic.labels

Get strings containing the most probable words for each topic
MalletLDA

Create a Mallet topic model trainer
mallet.top.words

Get the most probable words and their probabilities for one topic.
mallet.subset.topic.words

Estimate topic-word distributions from a sub-corpus
mallet.import

Import text documents into Mallet format
mallet.read.dir

Import documents from a directory into Mallet format
mallet.doc.topics

Retrieve a matrix of topic weights for every document
mallet.topic.hclust

Return a hierarchical clustering of topics