[libvoikko] Setting up HFST morphology backend

Sjur Moshagen sjurnm at mac.com
Tue Apr 27 10:07:07 EEST 2010

Den 26. apr. 2010 kl. 18.18 skrev Flammie Pirinen:

> 2010-04-26, Sjur Moshagen sanoi:
>> I have been trying to set up LibVoikko to use HFST, but have had no
>> success so far. This is what I have done, first trying to get regular
>> suomi-malaga to work:
>> * compiled omorfi (latest svn, no errors)
> NB. current omorfi has a few regressions dictionary-wise to e.g. latest
> stable.


>> * compiled LibVoikko (latest svn, no errors)
> For voikko you'll most likely have to ./configure --enable-hfst, to get
> the experimental HFST backend.

I did that, and it compiled just fine:)

> For HFST backend you can cp ${prefix}/share/omorfi/*
> ${HOME}/.voikko/2/mor-hfst/ and rename stuff like so:
> ls ~/.voikko/2/mor-hfst/
> hyphenation.hwfst  hyp.hwfst  mor.hwfst  spl.hwfst  sug.hwfst
> voikko-fi_FI.pro

Does that mean that all transducers used by voikko should be weighted? Presently, the make target in omorfi only produces unweighted transducers, at least based on the filename suffixes.

I'll try, and see what I get:)


More information about the Libvoikko mailing list