Results 1 to 4 of 4

Thread: Fuzzy Search Demo [VB6/vbRichClient5]

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2010
    Location
    Canada
    Posts
    2,452

    Fuzzy Search Demo [VB6/vbRichClient5]

    The vbRichClient5 library for VB6 includes support for the SQLite database engine, and acts as a wrapper for the user defined collation (sort) and user-defined functions features of SQLite. Thanks to the work of Olaf Schmidt, it is really easy to create standard VB6 classes that extend the functionality of SQLite.

    I've been experimenting with some "fuzzy" search routines using my own custom collation and ranking code (modified Metaphone), intertwined with the vbRC5 ranking code (RatCliff), and have put together a little demo here:

    RC5SearchDemo.zip

    Before you can use this demo, you will need to download and register the vbRichClient5 library from http://www.vbrichclient.com/#/en/Downloads.htm

    "Search" is a really interesting (and constantly evolving) area of human>computer interaction, and I think VB6 is somewhat lacking (no native regex, no built-in fuzzy algorithms like metaphone, ratcliff, etc...). I'm really hoping for some input from the community on how to make this fuzzy matching better, under more search/language scenarios - for the benefit of all. Please feel free to hack away with the above demo and report back with your results, and let's see if we can create a search algorithm (or suite of algorithms) that produce consistently useful results.

  2. #2
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    5,910

    Re: Fuzzy Search Demo [VB6/vbRichClient5]

    I did the same exercise, only without using vbRichClient5.

    Made a sample program using 2 files "games.txt" and "folders.txt", which needed to be matched in an older thread.
    I used and adapted code for 5 different fuzzy string match routines.

    The matching results for each routine are display in a MSFlexGrid.
    Attached Files Attached Files

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Aug 2010
    Location
    Canada
    Posts
    2,452

    Re: Fuzzy Search Demo [VB6/vbRichClient5]

    Nice work Arnoutdv, thanks for posting it.

    I think I will extend my demo with some of the comparison methods that you've compiled into your demo - it will be interesting to experiment with various weighting combinations of the different methods to see what produces the best results across various search criteria.

  4. #4
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    5,910

    Re: Fuzzy Search Demo [VB6/vbRichClient5]

    No problem, sounds like a good idea!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width