macOS
brew install thraxlocal Homebrew formula metadata
安装
brew install thraxlocal Homebrew formula metadata
概览
Tools for compiling grammars into finite state transducers
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
thraxcompiler | cli | 全局可执行文件 | |
thraxmakedep | cli | 全局可执行文件 | |
thraxrandom-generator | cli | 全局可执行文件 | |
thraxrewrite-tester | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.openfst.org/twiki/bin/view/GRM/Thrax
安装元数据
| 软件包键 | brew:thrax |
|---|---|
| 版本 | 1.3.10 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/thrax |
| 主页 | 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 |
| Pulse | updated |
| 依赖 | openfst |
| macOS 提供的库 | python |
| Bottle | 可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.