Omorfi
Revision as of 22:37, 7 June 2008 by Francis Tyers (talk | contribs)
OMorFi (Open Morphology of Finnish) is a computational morphology of Finnish written using SFST (or rather the Helsinki HFST variant).
Requirements
You will need SFST installed, you can follow the instructions on the SFST page.
Download
You need to have both the morphology files (OMorFi) and the wordlist (Kotus sanalista). The SVN version of kotus-sanalista
can be downloaded from here, but requires Java and Saxon to compile the list, so a pre-compiled version will be used here.
$ svn co http://svn.gna.org/svn/omorfi/trunk omorfi $ cd omorfi/src $ wget http://xixona.dlsi.ua.es/~fran/wordlists/kotus-sanalista-1a.xml $ wget http://xixona.dlsi.ua.es/~fran/wordlists/kotus-sanalista.sfstlex
Edit the omorfi/configure.ac
file and comment out the line AC_CONFIG_AUX_DIR([config-aux])
. Then edit the file omorfi/src/Makefile.am
and comment out the line KOTUS_LEX = kotus-sanalista.sfstlex
(or make will overwrite the ones you just downloaded).
$ aclocal $ automake -a $ autoconf $ ./configure --with-kotus-sanalista=kotus-sanalista-1a.xml
Compilation
$ make
This could take 10--20 minutes.