Example Data Handler
Author: Daniel Needham (email@example.com)
The example data handler show how the names disambiguation library can be used to disambiguate the unique individuals with a source data set.
With the Names context a data handler is the term given to something that retrieves meta data pertaining to individuals from a source data set and then uses the disambiguation library to firstly normalise that data, and then compare the resulting records to determine match scores for each comparison. These match scores can then be used to determine candidate matches.
The example data handler is a maven managed Java application. Its dependencies are:
- This should be picked up from maven's central repository
- This currently needs to be downloaded from here and added to your local maven repository
In this example:
- Build an example data source in memory.
- Iterate through the data source in batches, transforming each record into a normalised names record.
- Use the names disambiguator to derive match scores for comparisons between each record.
- Dump the resulting match scores into a tab delimited file.