Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 581653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:36:09+00:00 2026-05-13T14:36:09+00:00

I’m looking for a full text search algorithm that will allow to find similar

  • 0

I’m looking for a full text search algorithm that will allow to find similar program names, for example “Mozilla Firefox” and “Firefox 3.5, or “Adobe Reader” and “Adobe Acrobat Reader v10”. The Levenshtein distance is too inefficient in this case, since spelling doesn’t change.

It has to use serial scanning (not indexing).

I need maximum precision and minimum errors. What would you recommend?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T14:36:09+00:00Added an answer on May 13, 2026 at 2:36 pm

    Pattern comparison

    I used the following to auto-correct some domain names.

    The idea is to look at small patterns, for instance 2 chars sequences. Each time that such a sequence is found, the “score” is incremented for the compared sequence.
    The highest scores are likely to look similar.

    Ex:
    Mozilla Firefox
    => [‘mo’, ‘oz’, ‘zi’, ‘il’, ‘ll’, ‘la’, ‘a ‘, ‘ f’, ‘fi’, ‘ir’, ‘re’, ‘fo’, ‘ox’]

    Results:

    • ‘Firefox 3.5’ => 5,
    • ‘Adobe Reader’ => 0,
    • ‘Adobe Acrobat Reader v10’ => 1

    Automatic classification using compression

    This one is not full-text based.

    The idea here, expressed in this document, is to compare the compression of the concatenation of two items with the concatenation of the compressed items.

    Let c be the function that returns the size of the compressed item:

    d = c(A) + c(B) – c(A+B)

    The smaller d is, the closer A and B are.
    An interesting property is that the principle is type-independent and can be used with binaries like music, pictures, videos etc.

    Another link, easier to read but in French.

    Use SGDB full text functionalities

    I am a bit rusty on SQL Server but SQLite or MySQL offer a full text search.
    The results include a “rank” value, which can be considered as a similarity score.

    In MySQL:

    SELECT
      t.*,
      MATCH(my_field) AGAINST 'Mozilla Firefox' as relevance
    FROM
      table t
    WHERE
      MATCH(my_field) AGAINST 'Mozilla Firefox'
    ORDER BY relevance DESC
    LIMIT 100
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 383k
  • Answers 383k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer As of jQuery 1.4, you can do this: $('#pages li').attr('id',… May 14, 2026 at 10:58 pm
  • Editorial Team
    Editorial Team added an answer There are few things you can do (in that order):… May 14, 2026 at 10:58 pm
  • Editorial Team
    Editorial Team added an answer function AmziusFunc(Mas : TZmogus) : longint; var amzius, max :… May 14, 2026 at 10:58 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.