[libvoikko] VoikkoSpellService + hfst questions

Sjur Moshagen sjurnm at mac.com
Thu Sep 8 16:00:40 EEST 2011

Den 8. sep. 2011 kl. 15.28 skrev Sjur Moshagen:

> Hm, not quite there yet. I have restarted (to be sure, and clean up some heavily overloaded virtual memory), and VoikkoSpellService is starting fine (as evidenced by Finnish (Voikko) being accessible), but none of the Sámi languages show up. The Sámi languages are directly available to voikkospell, so there is no problem with them as such.
> I did NOT compile libvoikko with the  --with-dictionary-path=$PREFIX/lib/voikko option - is that an absolute requirement?
> I guess I will have to install a debug version, and start reading the logs :)

This is getting more and more strange. I have found two voikko dirs in possible search locations for libvoikko:


In both locations there where malaga dictionaries, but only in the last one where there hfst-based languages as well. I have tried the following:

- copied all sami languages to /usr/local/lib/voikko/2/ - nothing
- moved all languages away from ~/.voikko - nothing
- moved the whole voikko dir away from /usr/local/lib/ - no response
- completely removed all traces of these files from the hard disk - no change at all

Between each change I logged out and back in again to ensure that the system would stop the speller service, and reload the settings again.

In ALL these cases the system preferences (Language & text > Text > Speller langauges > Setup) did display one and only one language - Suomi - which I assume is the Malaga-based ones. This is true also in the case where I deleted ALL languages. It STILL listed Suomi (Voikko) (in parallel to Suomi (Soikko)) as the one and only Voikko language, even thoug there should be no such language to my knowledge.

Are there other possible places where voikko could be searching?
Are there other explanations for the behaviour I am seeing?
What kind of logging should I expect if I compile a debug version of VoikkoSpellService?


More information about the Libvoikko mailing list