An open API service indexing awesome lists of open source software.

https://github.com/hash-bang/compare-names

Fuzzily compare two arrays of names
https://github.com/hash-bang/compare-names

Last synced: 6 months ago
JSON representation

Fuzzily compare two arrays of names

Awesome Lists containing this project

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.

```javascript
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](test/) for more examples.