[libvoikko] Namespace collisions in HFST and Lttoolbox

Harri Pitkänen hatapitk at iki.fi
Tue Mar 23 11:54:44 EET 2010


On Tuesday 23 March 2010, Sjur Moshagen wrote:
> - runtime use of hfst transducers should be done through the runtime
>  library - the runtime library has no code or dependencies whatsoever on
>  the code and libraries used in the hfst compilers, it is a completely
>  separate piece of code - the present state of hfst integration with
>  LibVoikko is only temporary, and I guess more or less by accident uses the
>  full hfst library (with the SFST and OpenFST dependencies) instead of the
>  runtime library

As far I know the runtime library does not exist yet. At least looking at the 
sources of hfst-optimized-lookup it seems that only a standalone binary is 
built, no library that could be dynamically linked against.

Although I must admit that I have never tried to build it.

> That is, the whole issue should go away as soon as the full hfst library is
>  replaced with the runtime library (unless there are namespace issues
>  between the runtime lib and Apertium).
> 
> Or is there something that I have missed?

Yes, I suppose it will solve the problem too if it supports everything that is 
needed, including flag diacritics.

Harri



More information about the Libvoikko mailing list