IBM InfoSphere Global Name Management, Version 5.0
NameHunter API quick start examples
These quick start examples provide several small working programs
that demonstrate the basic NameHunter functionality.
NameHunter quick start example: Match two names
Here is a very simple example of a working program that uses the
NameHunter API. It compares two names and reports whether or not they match.
It compiles and creates a NameHunter instance and calls the NameHunter::nameMatch
function. Note that some of the most powerful NameHunter features such as
variants are not enabled.
NameHunter quick start example: Score two names
Here is simple example that reports on the similarity between two
names using the NameHunter::nameScore function. No special features are used.
NameHunter quick start example: Searchlist and Search
In typical cases, you will want to store your database of names
in a NameHunter SearchList object and use a NameHunter Searcher object to
search the list with a query name. Here is a simple example of the SearchList,
Searcher paradigm. Note that this example does not use cultures, comparison
parameter tuning, or any of the other NameHunter special features.