Giter Site home page Giter Site logo

Comments (5)

manishobhatia avatar manishobhatia commented on August 16, 2024

Hi Ranjith,
Yes, fuzzy-matcher is ideal for this type of matching records. Each of the properties can be configured as an Element with its relevant type and you should be able to get scores between the 2 records.

Here are some suggested Element type for each property you mentioned

  • invoice-number : Use TEXT (Assuming this is just alpha-numeric value. )
  • invoice-amount: Use NUMBER. This is ideal for currency or money values, where there could be small differences in rounding
  • customer-name: Use NAME. This can help where names occur with variation in first, middle and last names
  • invoice-date: Use DATE. This can also configurable to fuzziness if there is a difference in a few days between payment and invoice generation
  • customer-email: Use EMAIL. This can capture different email address, provided it shares similar characters generated from customers name.

Hope this helps

from fuzzy-matcher.

manishobhatia avatar manishobhatia commented on August 16, 2024

Regarding matching each payment with all the available invoices, that should be possible too.
See "Match a Document with Existing List" option in Match Service as your calling service, where document is pointing to Payment and matchWith is pointing to the list of invoices you have.

By default it will only give results if the match is above 0.5

from fuzzy-matcher.

ranjith-shady avatar ranjith-shady commented on August 16, 2024

Great. Can i also use multiple payments instead of single payment so performace can be improved. where i expect each payment to be compared with list of all the invoices and give the match score. Also can i increase the priority for some of the properties say invoice number and amount compared to others.

from fuzzy-matcher.

manishobhatia avatar manishobhatia commented on August 16, 2024

Using multiple payments is also possible.
Use this API for sending in a list of payments to be matched with another list of invoices
This should be more performant than the previous API

Increasing a priority of some properties is also possible. See Weight in the Element Configuration to achieve this

from fuzzy-matcher.

ranjith-shady avatar ranjith-shady commented on August 16, 2024

Thank you for the update. let me try the library and get back if there are any questions.

from fuzzy-matcher.

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.