Quote:
From the man page the only switch I don't understand is "-nj". The "n" would be for non-interactive, but the "j" eludes me.
More importantly there is no leading "/" for Fuzzy search algorithm, nor leading "|" for using full-text search. So sdcv doesn't run in fuzzy logic mode for koreader.
|
The "-j" has been added to this sdcv version and means "JASON output" to return the output somehow formatted for display.
Even if the "/" is not preceding the query, fuzzy search is the fall-back if no exact match is found, I looked this up in the source. The leading "|" would not help since it seems to mean full search in all text, not just the word list.
For many (European) languages it would be better to fall back to return a list of words that precede and follow the search query in lexicographical order. Even better would be if we would have language-specific rules how to modify the query to find word roots or singular for plural etc. Just the fuzzy search seems to be inadequate.