Difference between revisions of "Omorfi"
Jump to navigation
Jump to search
(New page: {{TOCD}} '''OMorFi''' (Open Morphology of Finnish) is a computational morphology of Finnish written using SFST (or rather the Helsinki HFST variant). ==Download== ==Compilation== ==...) |
|||
Line 1: | Line 1: | ||
{{TOCD}} |
{{TOCD}} |
||
'''OMorFi''' (Open Morphology of Finnish) is a computational morphology of Finnish written using [[SFST]] (or rather the Helsinki HFST variant). |
'''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== |
==Download== |
||
You need to have both the morphology files (OMorFi) and the wordlist (Kotus sanalista). The SVN version of <code>kotus-sanalista</code> can be downloaded from [http://svn.gna.org/svn/omorfi/kotus-sanalista here], but requires Java and Saxon to compile the list, so a pre-compiled version will be used here. |
|||
<pre> |
|||
$ svn co http://svn.gna.org/svn/omorfi/trunk omorfi |
|||
$ cd omorfi |
|||
$ wget http://xixona.dlsi.ua.es/~fran/wordlists/kotus-sanalista-1a.xml |
|||
</pre> |
|||
Edit the <code>omorfi/configure.ac</code> file and comment out the line <code>AC_CONFIG_AUX_DIR([config-aux])</code>. |
|||
<pre> |
|||
$ aclocal |
|||
$ automake -a |
|||
$ autoconf |
|||
$ ./configure --with-kotus-sanalista=kotus-sanalista-1a.xml |
|||
</pre> |
|||
==Compilation== |
==Compilation== |
||
<pre> |
|||
$ make |
|||
</pre> |
|||
==Usage== |
==Usage== |
Revision as of 22:02, 7 June 2008
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 $ wget http://xixona.dlsi.ua.es/~fran/wordlists/kotus-sanalista-1a.xml
Edit the omorfi/configure.ac
file and comment out the line AC_CONFIG_AUX_DIR([config-aux])
.
$ aclocal $ automake -a $ autoconf $ ./configure --with-kotus-sanalista=kotus-sanalista-1a.xml
Compilation
$ make