Consulting

Results 1 to 4 of 4

Thread: Phonetic Search

  1. #1
    VBAX Regular
    Joined
    Nov 2018
    Posts
    41
    Location

    Phonetic Search

    In a Search Engine, even if we type something wrong how do they find out the correct word?
    Is there any phonetic search?
    For instance if in my DBthe word “John” is typed as “Jahn” or “Jan” or “Jon”. While searching I should get all these related entries. Is there any code for it?

  2. #2
    Knowledge Base Approver VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    4,435
    Location
    Cross-posted at: https://www.mrexcel.com/forum/micros...ic-search.html
    Please read VBA Express' policy on Cross-Posting in Rule 3: http://www.vbaexpress.com/forum/faq...._new_faq_item3
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    VBAX Guru
    Joined
    Mar 2005
    Posts
    3,296
    Location
    Nope, no code.
    If you want it you will have to build it.
    Ideally you control the input to prevent that kind of error.

  4. #4
    Allen Browne has a Soundex Implementation in VBA on his website.
    I would recommend you store the Soundex-Value of the fields you want to search in together with the data in the table and compare to these fields in your search query. Computing the Soundex for a large number of records during query execution will severely degrade performance.
    Learn VBA from the ground up with my VBA Online Courses.

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
  •