GithubHelp home page GithubHelp logo

schema-matching's Introduction

Readme

This branch contains the name level matching code.

Approach

Since matching can be done for one collection across semesters, or across multiple collections, input taken as two lists of field names.

Many of the fields may be common/same, these are matched together first. Unmatched names are then chunked, and matched to get overall max similarity.

Chunks are based on entities from user stories, which are stored in a pickled trie. To regenerate this dictionary, please run python3 trie.py. Prefix matching is done, currently a minimum length >= 3 is needed to match.

Output

(chunking is done; need to decide on chunk similarity metric) (maybe identify future chunk candidates based on results from previous pass -- e.g. 'deptname' gets chunked as 'dept' + 'name' because of 'department', so the chunk 'name' can be identified in other fields if similar naming conventions were followed)

Exact matches:
('exact', 1.0, 'fname', 'FName')
Remaining:
['lname', 'firstname']
['lastname', 'cameraMetadata']

Testing chunking...
['camera', 'metadata']
['dat', 'fromcam']
['username']
['dept', 'name']
['dep', 'artment']
['apartment']
['upload', 'dat', 'e']
['vehicle', 'description']
['vehicle', 'descript', 'on']

Matching: 'vehicleDescription' with 'vehicleDescripton'
vehicleDescription -> ['vehicle', 'description']
vehicleDescripton -> ['vehicle', 'descript', 'on']
('vehicle', 'vehicle')
('description', 'descript')

schema-matching's People

Watchers

 avatar

Forkers

xixixhalu

schema-matching's Issues

Name Level Matching

Needs more attention, try a max flow approach to the matching instead of greedy. Dependency parsing can be used to infer relationships between words in a field name, and therefore help in matching with field names which are phrases like "heightOfPerson"

GUI

Work on separating the view from the backend for the GUI module, have the other current modules return answers as JSON/uniform format. Visualize final results from matchers, allow the user to specify constraints before/after results.

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.