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 8786499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:38:36+00:00 2026-06-13T21:38:36+00:00

I am trying to device an algorithm that performs error correction in names. My

  • 0

I am trying to device an algorithm that performs error correction in names. My approach is having a database with the correct names, compute edit distance between each of them and the name entered and then suggest the 5 or 10 closest.

This task is significantly different from standard error correction in words as some of the names might be replaced by initials. For instance “Jonathan Smith” and “J. Smith” are actually quite close and could easily be considered the same name, so the edit distance should be really small if not 0. Another challenge is that some names might be written differently while sounding the same. For instance Shnaider and Schneider are versions of the same name written by people with different locales(there are better examples for that I guess). And another case – just imagine all the possible errors in writing Jawaharlal Nehru most of which have nothing to do with the real name. Again probably most of them will be similar phonetically.

Obviously Lucene’s error correction algorithm will not help me here as it does not handle the above cases.

So my question is: do you know any library capable of doing error correction in names? Can you propose some algorithm for handling the cases mentioned above?

I am interested in libraries in c++ or java. As for algorithm proposals any language or pseudo code will do.

  • 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-06-13T21:38:37+00:00Added an answer on June 13, 2026 at 9:38 pm

    For phonetic matching, see Soundex.

    I think modifying a Levenshtein distance algorithm to treat “abbreviate to an initial” and “expand from an initial” as single-distance edits ought to be straightforward, but the details are beyond me at the moment.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are trying to emulate a device that runs off a parallel port. We
im trying to develop an app for a win CE mobile device that downloads
I'm trying to connect to an USB device that's on a remote PC (because
I'm Unable to copy SQLite database from assests folder to device memory(trying on emulator).
I'm trying to add a device driver to a Windows CE 6.0 image that
I'm trying to get device token in iPad for remote push notifications; registerForRemoteNotificationTypes is
I was trying to lock the device and trying to enable it by using
Trying to mount a device and get the pid of mount command. cmd="/bin/mount /dev/sda1
Iam trying to connect my android device with a bluetooth compatible device. I know
I am trying to make my application device administrator , i followed some notes

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.