Skip to content

hash-bang/compare-names

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Fuzzily compare two arrays of names

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published