[libvoikko] voikkospell segmentation fault + Sámi+hfst questions
Harri Pitkänen
hatapitk at iki.fi
Mon Sep 5 18:38:56 EEST 2011
On Monday 05 September 2011, Sjur Moshagen wrote:
> $ voikkospell -s -d se
> E: Initialization of Voikko failed: Failed to create speller because
> backend configuration could not be parsed
>
> There can be several sources of this error:
> * the alphabet.hfstol file is bad for SE (but I don't know what it is
> expected to be) - Tommi, can you answer that? * also, I'm using HFST3
> files now, it might be that the hfst backend code doesn't yet support that
> - Tommi, what is the status? * and it migth well be that I haven't been
> able to compile libvoikko with proper hfst backend support
>
> Any feedback welcome:)
The last one (libvoikko compiled without hfst backend support) is one
possibility. Problems with *.hfstol files should not show up this way.
The other possibility is that there is a typo in the configuration line that
specifies the speller backend. I'm not sure if the code is sensitive to line
endings. Try downloading (not copy-pasting) the configuration file from here:
http://www.puimula.org/htp/tmp/voikko-fi_FI.pro
If that turns out to be the problem we need to fix the setup code.
Harri
More information about the Libvoikko
mailing list