# thrax を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:thrax
```

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

### macOS

- Homebrew (100%):

```sh
brew install thrax
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:thrax
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/thrax>
- **バージョン:** 1.3.10
- **ソース概要:** Tools for compiling grammars into finite state transducers
- **ホームページ:** <https://www.openfst.org/twiki/bin/view/GRM/Thrax>
- **上流ドキュメント:** <https://www.openfst.org/twiki/bin/view/GRM/ReadMe>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://www.openfst.org/twiki/pub/GRM/ThraxDownload/thrax-1.3.10.tar.gz>
- **最終更新:** 2026-06-26T12:23:28-04:00
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- thraxcompiler (cli)
- thraxmakedep (cli)
- thraxrandom-generator (cli)
- thraxrewrite-tester (cli)
- thraxcompiler (エイリアス)
- thraxmakedep (エイリアス)
- thraxrandom-generator (エイリアス)
- thraxrewrite-tester (エイリアス)

## 依存関係

- openfst

## macOS 提供ライブラリ

- python

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1.3.10
- マネージャ更新日: 2026-06-26
- ローカルデータ: OK
- 上流リポジトリ: https://www.openfst.org/twiki/bin/view/GRM/Thrax
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

OpenGrm Thrax is a grammar compiler toolkit for compiling grammars written as regular expressions and context-dependent rewrite rules into weighted finite-state transducers using the OpenFst format.

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

The official OpenGrm README presents Thrax as release 1.2 and ties it directly to OpenFst: users need OpenFst with FAR, PDT, and MPDT support or the OpenFst `--enable-grm` option. The documentation is hosted on the OpenFst/OpenGrm TWiki rather than a public GitHub repository.

### 採用の歴史

Thrax's adoption is specialized: it serves finite-state grammar, language-processing, and computational-linguistics workflows rather than broad application development. Its Homebrew package makes the OpenGrm tools available to macOS users who want command-line programs such as `thraxcompiler`, `thraxmakedep`, and `thraxrewrite-tester` without building the OpenFst-related stack manually.

### 使われ方

The quick tour recommends copying the installed sample grammars from `/usr/local/share/thrax/grammars`, running `thraxmakedep`, building with `make`, and testing the resulting FAR archive with `thraxrewrite-tester`. The same page documents grammar features for tokenization, rewrite rules, PDT/MPDT usage, and morphological paradigms.

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

For package nerds, Thrax is a good example of a niche research-grade CLI where packaging matters because the dependency and build flags are the hard part. The official README calls out C++11, POSIX, bison, OpenFst, and specific OpenFst features, so a package manager saves users from reproducing a fragile local build recipe.

### タイムライン

- 2017: Official OpenGrm README revision documents Thrax release 1.2.
- 2019: Official quick tour revision documents the OpenGrm Thrax grammar compiler workflow.
- Thrax 1.1.0: Official quick tour notes added support for linguistic features and aspects of paradigmatic morphology.
- Thrax 1.2.4: Official quick tour notes a more bash-friendly separator for PDT/parens/assignments triples.

### Related projects

- Related projects include OpenFst, OpenGrm, weighted finite-state transducer tools, grammar compilers, and language-processing toolkits that use rewrite rules and finite-state archives.

### ソース

- <https://www.openfst.org/twiki/bin/view/GRM/ReadMe - official OpenGrm Thrax README for release, requirements, OpenFst dependency, installation, and usage paths.>
- <https://www.openfst.org/twiki/bin/view/GRM/Thrax - official Thrax documentation entry point.>
- <https://www.openfst.org/twiki/bin/view/GRM/ThraxQuickTour - official quick tour for compiler workflow, `thraxmakedep`, `thraxrewrite-tester`, PDT/MPDT, feature, and morphology notes.>


## セキュリティノート

narrow executable package without higher-risk signals.

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

## ソースデータベース詳細

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


## 関連リンク

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/ja/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openfst](https://www.automicvault.com/ja/pkg/brew/openfst/) - Runtime dependency declared by Homebrew.
- [bsc](https://www.automicvault.com/ja/pkg/brew/bsc/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [cc65](https://www.automicvault.com/ja/pkg/brew/cc65/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [closure-compiler](https://www.automicvault.com/ja/pkg/brew/closure-compiler/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [emscripten](https://www.automicvault.com/ja/pkg/brew/emscripten/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [lunarml](https://www.automicvault.com/ja/pkg/brew/lunarml/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [roblox-ts](https://www.automicvault.com/ja/pkg/brew/roblox-ts/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [sdcc](https://www.automicvault.com/ja/pkg/brew/sdcc/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [shc](https://www.automicvault.com/ja/pkg/brew/shc/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [foma](https://www.automicvault.com/ja/pkg/brew/foma/) - Local package facts share a topical domain. Shared terms: cli, compiler, developer, developer-tools, finite.

## Combined YAML source

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


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
