Automic VaultAutomic Vault

brew

mallet を Homebrew, MacPorts でインストール

mallet のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install mallet

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install mallet

MacPorts ports tree · math/mallet/Portfile · ソース: api.github.com

概要

パッケージ概要

MAchine Learning for LanguagE Toolkit

コマンドとエイリアス

  • classifier2info
  • csv2classify
  • csv2vectors
  • mallet
  • mallethon
  • prepend-license.sh
  • svmlight2vectors
  • text2classify
  • text2vectors
  • vectors2classify
  • vectors2info
  • vectors2topics
  • vectors2vectors

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2002: Andrew McCallum's official MALLET citation identifies the toolkit.
  • 2016: MALLET 2.0.8 became the last stable release before a long quiet period.
  • 2021: A serialization-breaking 202108 release changed internal collections and licensing details.
  • 2026: MALLET 2.1.0 shipped as the first stable release since 2.0.8, requiring Java 17.

Related projects

  • GRMM was documented as an add-on package for inference in graphical models and CRF training with arbitrary graphical structure.
  • MALLET overlaps historically with NLP libraries and topic-modeling stacks, but remains distinctive because it exposes mature algorithms as local Java command-line tools.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
classifier2infocliグローバル実行可能ファイル
csv2classifycliグローバル実行可能ファイル
csv2vectorscliグローバル実行可能ファイル
malletcliグローバル実行可能ファイル
mallethoncliグローバル実行可能ファイル
prepend-license.shcliグローバル実行可能ファイル
svmlight2vectorscliグローバル実行可能ファイル
text2classifycliグローバル実行可能ファイル
text2vectorscliグローバル実行可能ファイル
vectors2classifycliグローバル実行可能ファイル
vectors2infocliグローバル実行可能ファイル
vectors2topicscliグローバル実行可能ファイル
vectors2vectorscliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版202108
マネージャ更新日2026-06-22
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/mimno/Mallet

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:mallet
バージョン202108
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/mallet
ホームページhttps://mimno.github.io/Mallet/index
リポジトリhttps://github.com/mimno/Mallet
上流ドキュメントhttps://github.com/mimno/Mallet#readme
ライセンスApache-2.0
ソースアーカイブhttps://github.com/mimno/Mallet/releases/download/v202108/Mallet-202108-bin.zip
最終更新2026-06-22T14:05:26-07:00
Pulseupdated
依存関係openjdk
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemallet
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

MacPorts95%

mallet

sudo port install mallet
  • normalized package name match
  • 一致条件: Mallet
MacPorts ports tree · api.github.com · MacPorts ports tree: math/mallet/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment