Skip to content

Instantly share code, notes, and snippets.

Embed
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
You can’t perform that action at this time.