Package Exports
- compare-names
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (compare-names) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
compare-names
Fuzzily compare two arrays of names.
This module is intended mainly for comparing research paper author lists.
It takes two arrays of authors and simply returns a boolean if the authors look like they are the same.
var compareNames = require('compare-names');
compareNames(
['Izbicki, R', 'Weyhing, B. T. I.', 'Backer, L'],
['Izbicki, R 3rd', 'Weyhing, B. T.', 'Backer, L', 'Caoili, E.', 'M.l Vaitkevicius, V.K.']
);
// Returns true
See the unit tests for more examples.