macOS
brew install fomalocal Homebrew formula metadata
安装
brew install fomalocal Homebrew formula metadata
sudo apk add fomaAlpine Linux edge package indexes · foma · 来源: dl-cdn.alpinelinux.org
sudo dnf install fomaFedora Rawhide package metadata · foma · 来源: dl.fedoraproject.org
nix profile install nixpkgs#fomanixpkgs package indexes · pkgs/by-name/fo/foma/package.nix · 来源: api.github.com
sudo zypper install fomaopenSUSE Tumbleweed package metadata · foma · 来源: download.opensuse.org
概览
Finite-state compiler and C library
历史
foma is a finite-state compiler, programming language, command-line toolset, and C library for constructing finite-state automata and transducers, especially for natural language processing tasks such as morphological analysis.
The project was originally hosted on Google Code as `code.google.com/p/foma`, where its archive describes it as a finite-state compiler and C library. The archived project page records a 2015 Apache 2.0 license change and a 0.9.18 release, and the current GitHub repository identifies itself as an export from that Google Code project.
foma deliberately followed the Xerox xfst style: the archived project description says its interface is similar to xfst and that many xfst grammars compile without changes. This made it useful to linguists and NLP engineers who wanted an open implementation of familiar finite-state workflows.
The Google Code archive advertised pre-built binaries for Windows, Linux, and OS X and linked tutorial material from LREC 2010 and FSMNLP 2012, showing use in academic finite-state morphology and spelling-correction communities before the project moved fully to modern source hosting.
The current repository is lean but still maintained as buildable source, with CMake instructions and a WebAssembly build path that exposes a browser demo for testing foma regular expressions.
Users run `foma` to compile finite-state descriptions, use `flookup` to apply compiled automata with lookup strategies, and link against the C API when finite-state operations need to be embedded in other tools.
foma matters to package maintainers because it is a compact, mostly C-based implementation of a specialized NLP workflow that otherwise often depends on proprietary or research-only tooling. Its xfst compatibility, lexc-oriented usage, command-line utilities, and C library make it a small but culturally important finite-state package.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cgflookup | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
flookup | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
foma | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:foma |
|---|---|
| 版本 | 0.10.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/mhulden/foma |
| 仓库 | https://github.com/mhulden/foma |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
foma 1:0.10.0+s311.20240712-1
Tools for constructing various finite-state automata
sudo apt install fomalibfoma-dev 1:0.10.0+s311.20240712-1
Foma development files
sudo apt install libfoma-devlibfoma0t64 1:0.10.0+s311.20240712-1
Foma runtime libraries
sudo apt install libfoma0t64foma
nix profile install nixpkgs#fomafoma 1:0.10.0+s311-1.2build2
Tools for constructing various finite-state automata
sudo apt install fomafoma-bin 1:0.10.0+s311-1.2build2
Transitional package for foma
sudo apt install foma-binlibfoma-dev 1:0.10.0+s311-1.2build2
Foma development files
sudo apt install libfoma-devlibfoma0-dev 1:0.10.0+s311-1.2build2
Transitional package for libfoma-dev
sudo apt install libfoma0-devlibfoma0t64 1:0.10.0+s311-1.2build2
Foma runtime libraries
sudo apt install libfoma0t64foma 0.10.0_git20240712-r0
Finite-state compiler and C library
sudo apk add fomafoma-dev 0.10.0_git20240712-r0
Finite-state compiler and C library (development files)
sudo apk add foma-devlibfoma 0.10.0_git20240712-r0
Finite-state compiler and C library (libraries)
sudo apk add libfomafoma 0.10.0-0.16.20210601gitdfe1ccb.fc45
Xerox-compatible finite-state compiler
https://github.com/mhulden/foma
sudo dnf install fomalibfoma 0.10.0-0.16.20210601gitdfe1ccb.fc45
The foma C library
https://github.com/mhulden/foma
sudo dnf install libfomalibfoma-devel 0.10.0-0.16.20210601gitdfe1ccb.fc45
Development files for libfoma
https://github.com/mhulden/foma
sudo dnf install libfoma-develfoma 0.10.0+git22-1.8
Finite-state compiler and C library
sudo zypper install foma来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.