macOS
brew install thraxlocal Homebrew formula metadata
brew
Tools for compiling grammars into finite state transducers. Version 1.3.10 via Homebrew; verified 2026-06-26.
install
brew install thraxlocal Homebrew formula metadata
overview
Tools for compiling grammars into finite state transducers
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
thraxcompiler | cli | global executable | |
thraxmakedep | cli | global executable | |
thraxrandom-generator | cli | global executable | |
thraxrewrite-tester | cli | global executable |
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.
https://www.openfst.org/twiki/bin/view/GRM/Thrax
install metadata
| Package key | brew:thrax |
|---|---|
| Version | 1.3.10 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/thrax |
| Homepage | https://www.openfst.org/twiki/bin/view/GRM/Thrax |
| Upstream docs | https://www.openfst.org/twiki/bin/view/GRM/ReadMe |
| License | Apache-2.0 |
| Source archive | https://www.openfst.org/twiki/pub/GRM/ThraxDownload/thrax-1.3.10.tar.gz |
| Last updated | 2026-06-26T12:23:28-04:00 |
| Pulse | updated |
| Dependencies | openfst |
| Uses from macOS | python |
| Bottle | available (on arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | thrax |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.