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

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

## インストール

```sh
sudo av install brew:kytea
```

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

### macOS

- Homebrew (100%):

```sh
brew install kytea
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kytea
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kytea
```

  証拠: nixpkgs package indexes: pkgs/by-name/ky/kytea/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:kytea
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.4.7
- **ソース概要:** Toolkit for analyzing text, especially Japanese and Chinese
- **ホームページ:** <https://www.phontron.com/kytea/>
- **リポジトリ:** <https://github.com/neubig/kytea>
- **最終更新:** 2026-08-02T01:26:52+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- api-example (エイリアス)
- kytea (エイリアス)
- train-kytea (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

KyTea is the Kyoto Text Analysis Toolkit, a C++ toolkit by Graham Neubig for word segmentation, pronunciation estimation, and other analysis tasks, especially for Japanese and other languages where word or morpheme boundaries are not explicit in raw text.

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

The KyTea NEWS file records version 0.0.1 on 2009-11-05 as the initial release of KyWs and KyPe. The public GitHub repository and README describe the later project as a general text-analysis toolkit focused on Japanese and languages requiring segmentation.

KyTea's design sits in the statistical NLP toolkit tradition before transformer-based tokenizers became dominant. It gives researchers and language-processing users a trainable analyzer with command-line tools and a library API rather than a closed dictionary-only analyzer.

### 採用の歴史

KyTea's adoption is mostly academic and language-tooling oriented. It appears in package managers such as Homebrew, MacPorts, and Nix because Japanese and Chinese text-processing workflows often need a reproducible segmenter that can be scripted from Unix pipelines.

### 使われ方

The package installs kytea for analysis and train-kytea for model training. Users run it to segment text, estimate pronunciations, prepare corpora, or build custom models for domains where default Japanese tokenizers are not enough.

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

KyTea is a nice package-manager artifact because it packages research NLP into classic Unix form: a small binary, a training command, headers, and docs. It is especially useful in multilingual text-analysis stacks where tokenization is a prerequisite rather than the final task.

### タイムライン

- 2009-11-05: KyTea 0.0.1 was released as the initial release of KyWs and KyPe.
- 2009-11-16: The ChangeLog records version 0.0.2 with Shift-JIS support and an Autotools build-system change.
- 2026-07-01: The GitHub releases page for neubig/kytea listed no packaged GitHub releases, so the historical anchor remains the repository NEWS and source documentation.

### Related projects

- Related tools and concepts include Japanese morphological analyzers, Chinese word segmentation, MeCab-style tokenization workflows, statistical NLP, corpus preparation, and trainable language-specific text-analysis pipelines.

### ソース

- <https://github.com/neubig/kytea>
- <https://github.com/neubig/kytea/blob/master/ChangeLog>
- <https://raw.githubusercontent.com/neubig/kytea/master/NEWS>
- <https://www.phontron.com/kytea>
- <https://www.phontron.com/kytea/api.html>
- <https://www.phontron.com/kytea/train.html>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- Nix - kytea: normalized package name match | nixpkgs package indexes: pkgs/by-name/ky/kytea/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - kytea: normalized package name match | MacPorts ports tree: textproc/kytea/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/kytea.yml](https://github.com/mxcl/pkgdb/blob/main/combined/kytea.yml)


## ソース

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