pkg.soopen package index

brew / 排名 8152

使用 Homebrew, apk, apt, dnf, Nix, zypper 安装 foma

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install foma

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add foma

Alpine Linux edge package indexes · foma · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install foma

Debian stable package indexes · foma · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install foma

Fedora Rawhide package metadata · foma · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#foma

nixpkgs package indexes · pkgs/by-name/fo/foma/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install foma

openSUSE Tumbleweed package metadata · foma · 来源: download.opensuse.org

概览

软件包摘要

Finite-state compiler and C library

命令和别名

  • cgflookup
  • flookup
  • foma

历史

项目历史与用法

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.

时间线

  • 2009: The foma project citation describes `Foma: a finite-state compiler and library`.
  • 2011: The Google Code archive records creation of the `foma` project.
  • 2015: The archived project news records foma 0.9.18 and a license change to Apache 2.0.
  • 2020s: The GitHub README documents CMake builds and a WebAssembly demo for browser-based regular-expression testing.

Related projects

  • The project explicitly relates itself to Xerox xfst and lexc syntax, and supports import and export with Xerox, AT&T, and OpenFST-style tooling.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cgflookup可执行文件已索引可执行文件从本地可执行文件索引发现。
flookup可执行文件已索引可执行文件从本地可执行文件索引发现。
foma可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本0.10.0
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:foma
版本0.10.0
软件包管理器Homebrew
主页https://github.com/mhulden/foma
仓库https://github.com/mhulden/foma
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

foma 1:0.10.0+s311.20240712-1

Tools for constructing various finite-state automata

https://fomafst.github.io/

sudo apt install foma
  • Section: science
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Foma
Debian stable package indexes · deb.debian.org · Debian stable package indexes: foma from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfoma-dev 1:0.10.0+s311.20240712-1

Foma development files

https://fomafst.github.io/

sudo apt install libfoma-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: foma
  • 1 依赖
  • normalized package name match
  • 匹配方式:Foma
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfoma-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfoma0t64 1:0.10.0+s311.20240712-1

Foma runtime libraries

https://fomafst.github.io/

sudo apt install libfoma0t64
  • Section: libs
  • Architecture: amd64
  • Source Package: foma
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Foma
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfoma0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

foma

nix profile install nixpkgs#foma
  • normalized package name match
  • 匹配方式:Foma
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fo/foma/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

foma 1:0.10.0+s311-1.2build2

Tools for constructing various finite-state automata

https://fomafst.github.io/

sudo apt install foma
  • Section: universe/science
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Foma
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: foma from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

foma-bin 1:0.10.0+s311-1.2build2

Transitional package for foma

https://fomafst.github.io/

sudo apt install foma-bin
  • Section: universe/science
  • Architecture: all
  • Source Package: foma
  • 1 依赖
  • normalized package name match
  • 匹配方式:Foma
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: foma-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libfoma-dev 1:0.10.0+s311-1.2build2

Foma development files

https://fomafst.github.io/

sudo apt install libfoma-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: foma
  • 1 依赖
  • normalized package name match
  • 匹配方式:Foma
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfoma-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libfoma0-dev 1:0.10.0+s311-1.2build2

Transitional package for libfoma-dev

https://fomafst.github.io/

sudo apt install libfoma0-dev
  • Section: universe/libdevel
  • Architecture: all
  • Source Package: foma
  • 1 依赖
  • normalized package name match
  • 匹配方式:Foma
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfoma0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libfoma0t64 1:0.10.0+s311-1.2build2

Foma runtime libraries

https://fomafst.github.io/

sudo apt install libfoma0t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: foma
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Foma
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfoma0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

foma 0.10.0_git20240712-r0

Finite-state compiler and C library

https://fomafst.github.io/

sudo apk add foma
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: foma
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Foma
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: foma from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

foma-dev 0.10.0_git20240712-r0

Finite-state compiler and C library (development files)

https://fomafst.github.io/

sudo apk add foma-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: foma
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Foma
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: foma-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

libfoma 0.10.0_git20240712-r0

Finite-state compiler and C library (libraries)

https://fomafst.github.io/

sudo apk add libfoma
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: foma
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Foma
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libfoma from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

foma 0.10.0-0.16.20210601gitdfe1ccb.fc45

Xerox-compatible finite-state compiler

https://github.com/mhulden/foma

sudo dnf install foma
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: foma
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Foma
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: foma from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

libfoma 0.10.0-0.16.20210601gitdfe1ccb.fc45

The foma C library

https://github.com/mhulden/foma

sudo dnf install libfoma
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: foma
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Foma
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libfoma from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

libfoma-devel 0.10.0-0.16.20210601gitdfe1ccb.fc45

Development files for libfoma

https://github.com/mhulden/foma

sudo dnf install libfoma-devel
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: foma
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Foma
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libfoma-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
zypper95%

foma 0.10.0+git22-1.8

Finite-state compiler and C library

https://fomafst.github.io/

sudo zypper install foma
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: foma
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Foma
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: foma from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation