macOS
brew install thraxlocal Homebrew formula metadata
brew / rank 10001
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 | executable | indexed executable | Discovered from the local executable index. |
thraxmakedep | executable | indexed executable | Discovered from the local executable index. |
thraxrandom-generator | executable | indexed executable | Discovered from the local executable index. |
thraxrewrite-tester | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:thrax |
|---|---|
| Version | 1.3.10 |
| Package manager | Homebrew |
| Homepage | https://www.openfst.org/twiki/bin/view/GRM/Thrax |
| Last updated | 2026-06-26T12:23:28-04:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
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.