Omorfi

From Apertium
Revision as of 02:01, 9 June 2013 by TommiPirinen (talk | contribs) (updated locations and usage)
Jump to navigation Jump to search

Omorfi (Open Morphology of Finnish) is a computational morphology of Finnish written using HFST.

Requirements

You will need HFST installed, you can follow the instructions on the HFST page.

Download

The following commands will download and prepare the build for OMorFi.

$ git clone https://code.google.com/p/omorfi/
$ cd omorfi/
$ ./autogen.sh
$ ./configure --prefix=${HOME}/local --enable-multichar-format=apertium

In case autogen.sh does not work, do report a bug (autoreconf -i should work just as well in the meantime).

Compilation

You need at least 1.5Gb RAM to compile Omorfi, or be willing to let your machine sit around trashing for some hours.

$ make

This will compile everything.

To prepare source code for new apertium language pair, use src/scripts/omor2apertium.sh

Usage

After compiling, you can test it with the hfst-lookup program.

See also

External links