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