[libvoikko] Is is possible to specify multiple dictionary paths for ./configure?

Sjur Moshagen sjurnm at mac.com
Fri Jan 2 23:24:59 EET 2015


2. jan. 2015 kl. 20:08 skrev Sjur Moshagen <sjurnm at mac.com>:
> 
> 2. jan. 2015 kl. 18:10 skrev Harri Pitkänen <hatapitk at iki.fi>:
>> 
>> On Friday 02 January 2015 09:36:12 Sjur Moshagen wrote:
>>> Another question: what is the search order of the listed dirs? Which dir
>>> will take precedence if a speller file for one language is found in
>>> multiple locations?
>> 
>> Reading "Search order for dictionary files" at
>> 
>> https://github.com/voikko/corevoikko/blob/master/libvoikko/README
>> 
>> will answer all of these questions.

I suggest the following addtion to the specification above:

> I think it needs to be both, for several reasons:
> 
> * $HOME/.voikko is what people expect when coming from a unix/linux world
> * $HOME/.voikko is needed for backwards compatibility
> * $HOME/Library/Spelling/voikko should definitely be recognised if/when /Library/Spelling/voikko is also recognised (and should take precedense)

Add a new item 5), renaming the old 5) to 6):

5) Only on Mac OS X:
   a) from directory $HOME/Library/Spelling/voikko
   b) from directory /Library/Spelling/voikko

Would that be possible?

Sjur



More information about the Libvoikko mailing list