Difference between revisions of "Foma"

From Apertium
Jump to navigation Jump to search
Line 16: Line 16:
   
 
* http://foma.sourceforge.net/
 
* http://foma.sourceforge.net/
* [https://victorio.uit.no/langtech/trunk/st Giellatekno SVN]
+
* [https://victorio.uit.no/langtech/trunk/st Giellatekno SVN] — here you can find some example morphologies in foma format.
   
   

Revision as of 07:17, 30 September 2009

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