GithubHelp home page GithubHelp logo

ishaan6395 / deduplication Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11.17 MB

This program identifies and removes duplicates from the list using algorithms like levenshtein distance and metaphone

Java 100.00%

deduplication's Introduction

Title: Deduplication of Records.

Files: 
1) advanced.csv
2) normal.csv

Steps to run:

1) In the file "src\main\java\com\ishaan\deduplication\Controller\BaseController.java" change the file path in the function getData().

Assumptions:

1) email is unique to a user.
2) phone is unique to a user.

Approach:
This application detects duplicates on the following basis:

1) First It will check whether the email or phone is same or not. It it is same then it will return true.
2) If not then it will check whether the first name of the person has almost all letters same or does it sound same(using algorithms like levenshtein distance and metaphone).
3) If it is same then it will check whether the last name of the person has almost all letters same or does it sound same.
4) If yes then it will check if the company for which the person is working is almost same or address1 is same or not.

In the following cases the records will be considered duplicate.

Cases in which it will not be considered duplicate:
1) Will reject if email, phone, first name (almost), last name (almost), company (almost) and address1 (almost) do not match. 

We are not considering the factors like address2, zip, city, or state to detect duplicates because some of the records do not have these fields.

 

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.