macOS
brew install malletlocal Homebrew formula metadata
sudo port install malletMacPorts ports tree · math/mallet/Portfile · source: api.github.com
brew
MAchine Learning for LanguagE Toolkit. Version 202108 via Homebrew; verified 2026-06-22.
install
brew install malletlocal Homebrew formula metadata
sudo port install malletMacPorts ports tree · math/mallet/Portfile · source: api.github.com
overview
MAchine Learning for LanguagE Toolkit
history
MALLET, the MAchine Learning for LanguagE Toolkit, is a Java package and command-line toolkit for statistical natural language processing. Its official documentation describes support for document classification, clustering, topic modeling, information extraction, sequence tagging, and other machine-learning applications to text.
The project is associated with Andrew McCallum's MALLET citation from 2002 and originated in an academic NLP context at UMass. The modern public repository is maintained under the mimno GitHub organization, and the official site identifies it as open source under the Apache 2.0 license.
MALLET became especially visible to digital humanities, information science, and NLP users because it packaged algorithms such as Maximum Entropy classifiers, Conditional Random Fields, Latent Dirichlet Allocation, Pachinko Allocation, and Hierarchical LDA behind reusable Java APIs and shell commands. Its 2.1.0 release in 2026 was described by the maintainers as the first stable release since 2.0.8 in 2016, modernizing the build around Java 17 and Maven.
MALLET's package-manager footprint is modest but important: Homebrew and MacPorts carry it for macOS users who want the historical CLI workflow without building the Java project by hand. The GitHub repository shows roughly a thousand stars and hundreds of forks, which is consistent with a long-lived research toolkit rather than a fast-moving application.
The toolkit's adoption has been strongest where reproducible text-analysis workflows matter: topic-modeling corpora, classroom NLP exercises, digital humanities projects, and research code that wants a known implementation rather than a cloud service.
The command-line workflow centers on `bin/mallet [command] --option value`, with helper commands for importing text or CSV data, converting data to vectors, training classifiers, classifying new text, and running topic models. The README recommends building with Maven or using binary downloads, then running `bin/mallet --help` or a command-specific help option.
In packages such as Homebrew, MALLET matters because it turns a Java research toolkit into ordinary terminal commands like `mallet`, `text2vectors`, `vectors2topics`, and `csv2classify`, making it scriptable in shell pipelines and notebooks.
MALLET is a classic example of a research toolkit that became infrastructure for package-manager users: old enough to have stable workflows, specialized enough that vendoring it is annoying, and still useful when a project needs local NLP processing without a server stack.
For package curators, the interesting maintenance points are Java runtime requirements, binary wrapper scripts, and the 2026 shift to Java 17 and Maven. Those details directly affect whether older MALLET recipes keep working on current systems.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
classifier2info | cli | global executable | |
csv2classify | cli | global executable | |
csv2vectors | cli | global executable | |
mallet | cli | global executable | |
mallethon | cli | global executable | |
prepend-license.sh | cli | global executable | |
svmlight2vectors | cli | global executable | |
text2classify | cli | global executable | |
text2vectors | cli | global executable | |
vectors2classify | cli | global executable | |
vectors2info | cli | global executable | |
vectors2topics | cli | global executable | |
vectors2vectors | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/mimno/Mallet
install metadata
| Package key | brew:mallet |
|---|---|
| Version | 202108 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mallet |
| Homepage | https://mimno.github.io/Mallet/index |
| Repository | https://github.com/mimno/Mallet |
| Upstream docs | https://github.com/mimno/Mallet#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/mimno/Mallet/releases/download/v202108/Mallet-202108-bin.zip |
| Last updated | 2026-06-22T14:05:26-07:00 |
| Pulse | updated |
| Dependencies | openjdk |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mallet |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
mallet
sudo port install malletsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.