[libvoikko] Libreoffice-voikko with HFST support for Windows available for testing
Harri Pitkänen
hatapitk at iki.fi
Thu Jan 16 20:12:05 EET 2014
On Thursday 16 January 2014 10:20:43 Sjur Moshagen wrote:
> For developers who want to test the zhfst on Windows, it might be overkill
> to build the oxt every time. Is there a directory on Windows that will
> always be searched, in which I can tell developers of other languages to
> put the zhfst file?
Not in this build. But this is a good point. In the past versions that were
built with MSVC there was such path but I forgot about it when I started to
use GCC.
I need to fix the build instructions and rebuild the library so that the path
will be set again. It will be C:\voikko\3
> I looked at
> https://github.com/voikko/corevoikko/blob/master/libvoikko/README, but
> could not find anything clear regarding Windows.
The instructions about registry keys should be still valid. You only have to
set them once. If you run regedit.exe and set
HKEY_LOCAL_MACHINE\SOFTWARE\Voikko\DictionaryPath = C:\voikko
you should be able to use zhfst spellers under C:\voikko\3
Alternatively, if you only care about testing the spellers in LibreOffice, you
can also place the zhfst archives under the unpacked oxt extension directory.
Just search for the .zhfst files that come with the extension and place the
additional .zhfst files in the same place. That directory will be either under
the installation directory of LibreOffice or under the user's application data
directory (depending on whether the extension was installed for all users or
just one user). You need to restart LibreOffice after adding or removing any
spellers.
Harri
More information about the Libvoikko
mailing list