Difference between revisions of "Omorfi"

From Apertium
Jump to navigation Jump to search
(updated locations and usage)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:


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


Line 29: Line 29:
This will compile everything.
This will compile everything.


To prepare source code for new apertium language pair, use src/scripts/omor2apertium.sh
To prepare source code for new apertium language pair, use src/scripts/omor2apertium.sh... or just copy one from an existing pair, such as apertium-fin-eng.


==Usage==
==Usage==

Latest revision as of 14:53, 2 June 2016

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

Requirements[edit]

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

Download[edit]

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

$ git clone https://github.com/flammie/omorfi
$ cd omorfi/
$ ./autogen.sh
$ ./configure

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

Compilation[edit]

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... or just copy one from an existing pair, such as apertium-fin-eng.

Usage[edit]

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

See also[edit]

External links[edit]