Foma

From Apertium
Revision as of 07:14, 30 September 2009 by Francis Tyers (talk | contribs)
Jump to navigation Jump to search

foma is a finite-state toolkit that implements Xerox lexc and xfst. It can be used for building morphologies of natural languages.

Installation

Note: foma requires libreadline to be installed, on Debian or Ubuntu use apt-get install libreadline5-dev

  • Download the .tar.gz source from the website.
  • Untar
  • Run make

If you get an error Makefile:12: *** missing separator. Stop., edit the Makefile and add \ to the end of the lines 11--13.

  • This will create a binary foma, which should be copied into your PATH.

External links