foma

Finite-state compiler for building morphological and phonological analyzers

brewmacoslinux
Try with needOr install directly
Source

About

Finite-state compiler and C library

Commands

foma

Examples

Start interactive foma shell to define finite-state transducers$ foma
Load and execute commands from a foma script file$ foma -f script.foma
Execute a single foma command without entering interactive mode$ foma -e 'define vowel [a|e|i|o|u]; print defined;'