Automic VaultAutomic Vault

brew

Install kytea with Homebrew, MacPorts, Nix

Toolkit for analyzing text, especially Japanese and Chinese. Version 0.4.7 via Homebrew; verified 2026-06-19.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install kytea

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install kytea

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

Linux

Nixverified · 92%
nix profile install nixpkgs#kytea

nixpkgs package indexes · pkgs/by-name/ky/kytea/package.nix · source: api.github.com

overview

Package summary

Toolkit for analyzing text, especially Japanese and Chinese

Commands and aliases

  • api-example
  • kytea
  • train-kytea

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

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.

Recommended review

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

executables

Installed executables

CommandKindExposureNote
api-examplecliglobal executable
kyteacliglobal executable
train-kyteacliglobal 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.4.7
manager updated2026-06-19
local dataok
upstreamnot checked
latest detectednot detected

https://www.phontron.com/kytea/

install metadata

Package metadata

Package keybrew:kytea
Version0.4.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/kytea
Homepagehttps://www.phontron.com/kytea/
Repositoryhttps://github.com/neubig/kytea
Upstream docshttps://www.phontron.com/kytea
LicenseApache-2.0
Source archivehttps://www.phontron.com/kytea/download/kytea-0.4.7.tar.gz
Last updated2026-06-19T12:31:22-07:00
Pulseupdated
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 Namekytea
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • 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.

Nix95%

kytea

nix profile install nixpkgs#kytea
  • normalized package name match
  • Matched by: Kytea
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ky/kytea/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

kytea

sudo port install kytea
  • normalized package name match
  • Matched by: Kytea
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/kytea/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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment