Automic VaultAutomic Vault

brew

Install cabocha with Homebrew, MacPorts

Yet Another Japanese Dependency Structure Analyzer. Version 0.69 via Homebrew; verified 2026-06-30.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cabocha

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install cabocha

MacPorts ports tree · textproc/cabocha/Portfile · source: api.github.com

overview

Package summary

Yet Another Japanese Dependency Structure Analyzer

Commands and aliases

  • cabocha
  • cabocha-config

history

Project history and usage

CaboCha is Taku Kudo's Japanese dependency structure analyzer. It is a classic Japanese NLP command-line tool built around chunking and dependency parsing, with MeCab and CRF++ as important parts of its toolchain.

Project history

The official CaboCha page describes it as a Japanese dependency parser based on Support Vector Machines. Its cited research lineage includes the 2002 paper on Japanese dependency analysis using cascaded chunking by Taku Kudo and Yuji Matsumoto.

CaboCha offered more than a single CLI: the project page lists flexible input formats, user-redefinable features for dependency identification, user-trainable models, a Double-Array trie inside its dictionary machinery, named-entity analysis based on the IREX definition, and C, C++, Perl, and Ruby libraries.

The package sits in Taku Kudo's broader Japanese NLP tooling family. The install docs require MeCab and a dictionary such as mecab-ipadic, mecab-jumandic, or UniDic, and they require CRF++ 0.55 or later.

Adoption history

CaboCha was widely known in Japanese NLP and corpus-processing workflows because it paired a scriptable CLI with trained models and published parser output formats. The official page's license notes explain that bundled model files were trained from Mainichi Newspaper CD-ROM data and carried separate usage constraints, while users could train their own models for other use cases.

In package-manager culture, CaboCha is the kind of older research-to-tooling artifact that survives because it remains useful for Japanese text-processing pipelines and because it integrates with MeCab, one of the best-known Japanese morphological analyzers.

How it is used

Users run cabocha on Japanese text from standard input and receive a simple dependency tree by default. The -f1 option emits a machine-oriented format with chunk and token information, and cabocharc controls parser, chunker, and named-entity model paths.

The install path supports Unix builds with configure, make, make check, and make install, and Windows builds that expect MeCab to be installed first. The config file can switch between IPA, JUMAN, and UniDic part-of-speech/model settings.

Why package nerds care

For package nerds, CaboCha is significant as a packaged research NLP tool: it wraps academic dependency parsing, model files, morphological analyzer dependencies, and C/C++ library bindings into a Unix-style command.

It also illustrates the packaging awkwardness of NLP tools with trained models: the code has an open software license, while bundled model data can carry corpus-specific redistribution and use constraints.

Timeline

  • 2002: Kudo and Matsumoto published the cascaded chunking Japanese dependency analysis work cited by CaboCha.
  • 2013-12-31: CaboCha 0.67 improved analysis speed and fixed OS X and Windows issues.
  • 2014-03-10: CaboCha 0.68 removed the tournament model and added a MeCab-compatible -u option.
  • 2015-01-24: CaboCha 0.69 changed several Chunk fields to size_t and fixed a FreeList buffer overflow issue.

Related projects

  • MeCab is the morphological analyzer required by CaboCha.
  • CRF++ is required by the official CaboCha build instructions.
  • ChaSen is explicitly noted as not supported by CaboCha's install instructions.
  • JUMAN, mecab-ipadic, mecab-jumandic, and UniDic are related dictionary or part-of-speech ecosystems used around CaboCha models.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.
  • Installs with 3 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/usr/local/etc/cabocharc

executables

Installed executables

CommandKindExposureNote
cabochacliglobal executable
cabocha-configcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.69
manager updated2026-06-30
local dataok
upstreamnot checked
latest detectednot detected

https://taku910.github.io/cabocha/

install metadata

Package metadata

Package keybrew:cabocha
Version0.69
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cabocha
Homepagehttps://taku910.github.io/cabocha/
Upstream docshttps://taku910.github.io/cabocha
LicenseBSD-3-Clause OR LGPL-2.1-or-later
Source archivehttps://distfiles.macports.org/cabocha/cabocha-0.69.tar.bz2
Last updated2026-06-30T11:34:46-04:00
Pulseupdated
Dependenciescrf++, mecab, mecab-ipadic
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts95%

cabocha

sudo port install cabocha
  • normalized package name match
  • Matched by: Cabocha
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/cabocha/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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