Automic VaultAutomic Vault

brew

使用 Homebrew 安装 thrax

查看 thrax 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install thrax

local Homebrew formula metadata

概览

软件包摘要

Tools for compiling grammars into finite state transducers

命令和别名

  • thraxcompiler
  • thraxmakedep
  • thraxrandom-generator
  • thraxrewrite-tester

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 4 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
thraxcompilercli全局可执行文件
thraxmakedepcli全局可执行文件
thraxrandom-generatorcli全局可执行文件
thraxrewrite-testercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.3.10
管理器更新时间2026-06-26
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖openfst
macOS 提供的库python
Bottle可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namethrax
Version Scheme0
Revision0
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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