# Install cabocha with Homebrew, MacPorts

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

## Install

```sh
sudo av install brew:cabocha
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cabocha
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cabocha
```

  Evidence: MacPorts ports tree: textproc/cabocha/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:cabocha
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cabocha>
- **Version:** 0.69
- **Source summary:** Yet Another Japanese Dependency Structure Analyzer
- **Homepage:** <https://taku910.github.io/cabocha/>
- **Upstream docs:** <https://taku910.github.io/cabocha>
- **License:** BSD-3-Clause OR LGPL-2.1-or-later
- **Source archive:** <https://distfiles.macports.org/cabocha/cabocha-0.69.tar.bz2>
- **Last updated:** 2026-06-30T11:34:46-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cabocha (cli)
- cabocha-config (cli)
- cabocha (alias)
- cabocha-config (alias)

## Dependencies

- crf++
- mecab
- mecab-ipadic

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.69
- Package-manager updated: 2026-06-30
- Local data: ok
- Upstream repository: https://taku910.github.io/cabocha/
- info: Release/tag comparison is only available for GitHub repositories.
## 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.

### Sources

- <https://taku910.github.io/cabocha/>
- <https://taku910.github.io/crfpp/>
- <https://taku910.github.io/mecab/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## 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

- Unix: /usr/local/etc/cabocharc
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cabocha
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- MacPorts - cabocha: normalized package name match | MacPorts ports tree: textproc/cabocha/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [crf++](https://www.automicvault.com/pkg/brew/crf/) - Runtime dependency declared by Homebrew.
- [mecab](https://www.automicvault.com/pkg/brew/mecab/) - Runtime dependency declared by Homebrew.
- [mecab-ipadic](https://www.automicvault.com/pkg/brew/mecab-ipadic/) - Runtime dependency declared by Homebrew.
- [mitie](https://www.automicvault.com/pkg/brew/mitie/) - Shares av.db curated category or tags: cli, data, natural-language-processing, nlp.
- [sentencepiece](https://www.automicvault.com/pkg/brew/sentencepiece/) - Shares av.db curated category or tags: cli, data, natural-language-processing, nlp.
- [stanford-corenlp](https://www.automicvault.com/pkg/brew/stanford-corenlp/) - Shares av.db curated category or tags: cli, data, natural-language-processing, nlp.
- [stanford-ner](https://www.automicvault.com/pkg/brew/stanford-ner/) - Shares av.db curated category or tags: cli, data, natural-language-processing, nlp.
- [stanford-parser](https://www.automicvault.com/pkg/brew/stanford-parser/) - Shares av.db curated category or tags: cli, data, natural-language-processing, nlp.
- [yamcha](https://www.automicvault.com/pkg/brew/yamcha/) - Shares av.db curated category or tags: cli, data, natural-language-processing, nlp.
- [mallet](https://www.automicvault.com/pkg/brew/mallet/) - Shares av.db curated category or tags: cli, data, natural-language-processing.

## Combined YAML source

View the package source record on GitHub. [combined/cabocha.yml](https://github.com/automic-vault/db/blob/main/combined/cabocha.yml)


## Sources

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