Skip to content

Generates a similarity key for a street address for matching inconsistent street addresses within a dataset(s)

License

Notifications You must be signed in to change notification settings

interzoid/streetaddresssimkey-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streetaddresssimkey-go

Go package for generating a similarity key from the input data used to match with other similar street address data. Use the generated similarity key, rather than the actual data itself, to match and/or sort street address data by similarity. This avoids the problems of data inconsistency, misspellings, and address element variations when matching within a single dataset, and can also help matching across datasets or for more advanced searching.

The key generation is based on a series of tests, algorithms, AI, and an ever-growing body of Machine Learning-based generated knowledge.

Usage

To generate the similarity key, you will need the following information:

Begin by retrieving the package:

go get "github.com/interzoid/streetaddresssimkey-go"

Import the package into your code:

import "github.com/interzoid/streetaddresssimkey-go"    

Then, provide a street address into the GetSimKey() method:

simkey, code, credits, err := StreetAddressSimKey.GetSimKey("YOUR-API-KEY","107 E. Main St.")

The return values will be the generated similarity key, a code (success or failure), how many remaining credits on your API key, and any error messages. The similarity key can be used to search for other similar street addresses, to sort large datasets by similarity, and perhaps use additional attributes to identify duplicates/redundancy.

Examples:

100 E. Main St. Suite 101  ->  fS9Xxx-9HoRD4ZGJA43meLBS3tAn5YjdCClGJyXtUrw
100 East Main St. #101  ->  fS9Xxx-9HoRD4ZGJA43meLBS3tAn5YjdCClGJyXtUrw

Park Avenue #500  ->   EP88bx0VFDaIh-cOt86c8pOJ6lNkb_TWiKFpmMKXakY
500 PARK AVE.  ->  EP88bx0VFDaIh-cOt86c8pOJ6lNkb_TWiKFpmMKXakY

See Also:

Individual Name Similarity Keys: /~https://github.com/interzoid/fullnamesimkey-go

Individual Name Match Scoring: /~https://github.com/interzoid/fullnamematchscore-go

Company Name Similarity Keys: /~https://github.com/interzoid/companynamesimkey-go

About

Generates a similarity key for a street address for matching inconsistent street addresses within a dataset(s)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages