Difference between revisions of "Foma"

From Apertium
Jump to navigation Jump to search
(New page: '''foma''' is a finite-state toolkit that implements Xerox lexc and xfst. It can be used for building morphologies of natural languages. == External links == * http://foma.sourceforge....)
 
Line 1: Line 1:
 
'''foma''' is a finite-state toolkit that implements Xerox lexc and xfst. It can be used for building morphologies of natural languages.
 
'''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 <code>libreadline</code> to be installed, on Debian or Ubuntu use <code>apt-get install libreadline5-dev</code>
  +
  +
* Download the .tar.gz source from the website.
  +
* Untar
  +
* Run <code>make</code>
  +
  +
If you get an error <code>Makefile:12: *** missing separator. Stop.</code>, edit the Makefile and add <code>\</code> to the end of the lines 11--13.
  +
  +
* This will create a binary <code>foma</code>, which should be copied into your <code>PATH</code>.
   
 
== External links ==
 
== External links ==

Revision as of 10:39, 25 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