Skip to content

Instantly share code, notes, and snippets.

Created February 27, 2019 06:49
What would you like to do?
const { compareTwoStrings: sørensenDice } = require("string-similarity")
console.log(1 - sørensenDice("חצילים", "החציל"))
// 0.33333333333333337
console.log(1 - sørensenDice("פלפל ירוק ובצל", "פלפל ובצל ירוק"))
// 0.09090909090909094
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment