marc-record-similarity

1.0.1 • Public • Published

marc-record-similarity

Checks the similarity of 2 marc records using neural network.

Installation


npm install marc-record-similarity

Usage

var RecordSimilarity = require('marc-record-similarity');

var similarityChecker = new RecordSimilarity(options);

options:
    network: brain.NeuralNetwork (see [brain](https://github.com/harthur/brain))
    strategy: strategy (attributes) that were used to train the network


var res = similarity.check(record1, record2);

Records are expected to be in marc-record-js format.

res will be in the range [0,1], where

  • 0 means not duplucate and
  • 1 means that the records are a duplicate.

Package Sidebar

Install

npm i marc-record-similarity

Weekly Downloads

2

Version

1.0.1

License

ISC

Last publish

Collaborators

  • natlibfi
  • petuomin