# cabocha を Homebrew, MacPorts でインストール

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install cabocha
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cabocha
```

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

## パッケージ情報

- **パッケージキー:** brew:cabocha
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.69
- **ソース概要:** Yet Another Japanese Dependency Structure Analyzer
- **ホームページ:** <https://taku910.github.io/cabocha/>
- **最終更新:** 2026-06-30T11:34:46-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cabocha (エイリアス)
- cabocha-config (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.69
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- 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
## 他のパッケージマネージャ記録

- 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


## Combined YAML source

View the package source record on GitHub. [combined/cabocha.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cabocha.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
