Re: [sword-devel] Fuzzy search and definitions?

2017-05-02 Thread Troy A. Griffitts
You might not be getting hits if all four words aren't in the same verse. Try prefixing to your search term: prox: That should span verses. On May 2, 2017 1:20:36 PM MST, David Haslam wrote: >By a process of trial and error, I have found that words with an *edit >distance* of 3 or less are fo

Re: [sword-devel] Fuzzy search and definitions?

2017-05-02 Thread David Haslam
By a process of trial and error, I have found that words with an *edit distance* of 3 or less are found, and 4 or more are not found. Try tilgath~ AND palonesar~ and play with the search key in Xiphos advanced search with Lucene selected. David -- View this message in context: http://sword-d

Re: [sword-devel] Fuzzy search and definitions?

2017-05-02 Thread Donna Whisnant
For my King James Pure Bible Search (KJPBS) software ( http://www.purebiblesearch.com/ ), I use the SoundEx algorithm for fuzzy search. Though, in my software, it doesn't really have do "searching", per se, as it already

Re: [sword-devel] Fuzzy search and definitions?

2017-05-02 Thread David Haslam
Doing it "under the hood" isn't such a good idea after all. What if you want to fuzzy match two or more words? Try this for example: tilgath~ AND paliser~ David -- View this message in context: http://sword-dev.350566.n4.nabble.com/Fuzzy-search-and-definitions-tp4657137p4657141.html Sent fr

Re: [sword-devel] Fuzzy search and definitions?

2017-05-02 Thread David Haslam
Meanwhile, perhaps the *Xiphos* developer could add a point about the fuzzy search /tilde/ to the popup dialog text for *Lucene search syntax* ? Currently this reads: *Syntax overview for optimized "lucene" searches* Search for verses that contain... loved one "loved" or "one" T

Re: [sword-devel] Fuzzy search and definitions?

2017-05-02 Thread David Haslam
Assuming a front-end has a switch for *fuzzy search* What would be neater would be for the front-end to append the /tilde/ in the background when fuzzy search is ON, while still displaying the search key /without/ the tilde in the results header. This would obviate expecting the average user

Re: [sword-devel] Fuzzy search and definitions?

2017-05-02 Thread David Haslam
Lucene already provides for "fuzzy" searches. Try searching the KJV for: *melchesidec~* The /tilde/ on the end indicates to the Lucene search engine to do a fuzzy search. The above example will find *Melchizedek* in Gen 14:8, Psalm 110:4 and the 9 instances of *Melchisedec* in Hebrews, though

[sword-devel] Fuzzy search and definitions?

2017-05-02 Thread David Haslam
For those front-end apps that have a *fuzzy search* feature, is this based on https://en.wikipedia.org/wiki/Levenshtein_distance or on something quite different? Any chance of building this into SWORD & JSword, or do we already have it? I've never seen this mentioned before in the nine years I'