On Sat 14 May 2005, Earle Martin openguides@downlode.org wrote:
I don't know anything about fuzzy matching techniques. Can anyone suggest any pointers?
See fuzzy_title_match() in CGI::Wiki -
Returns a (possibly empty) hash whose keys are the node names and whose values are the scores in some kind of relevance-scoring system I haven't entirely come up with yet.
Note that even if an exact match is found, any other similar enough matches will also be returned. However, any exact match is guaranteed to have the highest relevance score.
The matching is done against "canonicalised" forms of the search string and the node titles in the database: stripping vowels, repeated letters and non-word characters, and lowercasing.
supports_fuzzy_searches() will tell you if your search backend can do this. I'm fairly sure that both the ones used by OpenGuides do.
Kake