macOS
brew install fomalocal Homebrew formula metadata
brew
Finite-state compiler and C library. Version 0.10.0 via Homebrew; verified from local package data.
install
brew install fomalocal Homebrew formula metadata
sudo apk add fomaAlpine Linux edge package indexes · foma · source: dl-cdn.alpinelinux.org
sudo apt install fomaDebian stable package indexes · foma · source: deb.debian.org
sudo dnf install fomaFedora Rawhide package metadata · foma · source: dl.fedoraproject.org
nix profile install nixpkgs#fomanixpkgs package indexes · pkgs/by-name/fo/foma/package.nix · source: api.github.com
sudo zypper install fomaopenSUSE Tumbleweed package metadata · foma · source: download.opensuse.org
overview
Finite-state compiler and C library
history
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.
security posture
library-like 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 |
|---|---|---|---|
cgflookup | cli | global executable | |
flookup | cli | global executable | |
foma | cli | global executable |
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.
https://github.com/mhulden/foma
install metadata
| Package key | brew:foma |
|---|---|
| Version | 0.10.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/foma |
| Homepage | https://github.com/mhulden/foma |
| Repository | https://github.com/mhulden/foma |
| Upstream docs | https://github.com/mhulden/foma#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/mhulden/foma/archive/refs/tags/v0.10.0.tar.gz |
| Build dependencies | bison, cmake, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | foma |
| Version Scheme | 0 |
| Revision | 1 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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.15.20210601gitdfe1ccb.fc44
Xerox-compatible finite-state compiler
https://github.com/mhulden/foma
sudo dnf install fomalibfoma 0.10.0-0.15.20210601gitdfe1ccb.fc44
The foma C library
https://github.com/mhulden/foma
sudo dnf install libfomalibfoma-devel 0.10.0-0.15.20210601gitdfe1ccb.fc44
Development files for libfoma
https://github.com/mhulden/foma
sudo dnf install libfoma-develfoma 0.10.0+git22-1.6
Finite-state compiler and C library
sudo zypper install fomasource 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.