GithubHelp home page GithubHelp logo

Comments (4)

adamdecaf avatar adamdecaf commented on May 20, 2024

FYI, we should look at how ES does Soundex and if we're normalizing the result similar to them.

https://www.elastic.co/guide/en/elasticsearch/guide/current/phonetic-matching.html (Should also check 6.x)

from watchman.

adamdecaf avatar adamdecaf commented on May 20, 2024

Soundex is a phonetic algorithm for indexing names by sound, as pronounced in English.

(From: https://en.wikipedia.org/wiki/Soundex)

We will likely need to find non-english alternatives to use alongside.

Edit: From the paper directly below:

The Soundex and Metaphone algorithms are highly susceptible to missing matches where a name pair starts with a different letter (e.g. KAVANAGH, CAVANAGH and HAVANAH). This is especially true with names beginning with vowels - where typically many equivalents exist (e.g. EWELL, ULE, YOUL, WHEWELL, HEWEL), which should result in matches being reported.

from watchman.

adamdecaf avatar adamdecaf commented on May 20, 2024

From https://waset.org/publications/8664/a-comparison-and-analysis-of-name-matching-algorithms-

Looks like the order of most accurate in that graph:

  1. NYSIIS
  2. Phonex
  3. LIG2

screen shot 2019-01-09 at 3 46 13 pm

I've also found some sample implementations:

from watchman.

adamdecaf avatar adamdecaf commented on May 20, 2024

FYI, if we need to come back to this I think we should write custom ES scorers with specific string compare algorithms.

from watchman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.