libzim icon indicating copy to clipboard operation
libzim copied to clipboard

Consider using another spellchecking library

Open kelson42 opened this issue 2 months ago • 3 comments

For the moment we use the one of Xapian, we should see if we could not benefit of using an other one... and which one?

@veloman-yunkan suggested at https://github.com/openzim/libzim/issues/731#issuecomment-2875591112:

After some research, I'd rather go with a more specialized spellchecker tool like https://github.com/hunspell/hunspell or https://github.com/nuspell/nuspell and generate input (dictionary) for the spellchecker from a filtered list of terms found in the titledb

kelson42 avatar Oct 14 '25 09:10 kelson42

@veloman-yunkan I would tend to put this feature request on-hold as long as we don't hit a serious problem with the Xapian based approach... or do we have already a kind of serious issue?

kelson42 avatar Nov 03 '25 20:11 kelson42

@veloman-yunkan Considering this issue seems to be a blocker for #1012, see https://github.com/openzim/libzim/issues/1012#issuecomment-3527800188. Priority ahould be to implement this one to complete the work on the spellchecking.

What is the situation and what would you recommend to do here?

kelson42 avatar Nov 14 '25 15:11 kelson42

@kelson42 I am now working on integration with nuspell

veloman-yunkan avatar Nov 14 '25 15:11 veloman-yunkan