string-similarity
string-similarity copied to clipboard
Finds degree of similarity between two strings, based on Dice's Coefficient, which is mostly better than Levenshtein distance.
_Dependabot Preview will be shut down on August 3rd, 2021. In order to keep getting Dependabot updates, please merge this PR and migrate to GitHub-native Dependabot before then._ Dependabot has...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.3.1 to 4.7.2. Release notes Sourced from webpack-cli's releases. v4.7.2 4.7.2 (2021-06-07) Note: Version bump only for package webpack-cli v4.7.1 4.7.1 (2021-06-07) Bug Fixes not found module...
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.1 to 4.16.6. **This update includes a security fix.** Vulnerabilities fixed Sourced from The GitHub Security Advisory Database. Regular Expression Denial of Service in browserslist The package...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21. **This update includes a security fix.** Vulnerabilities fixed Sourced from The GitHub Security Advisory Database. Command Injection in lodash lodash versions prior to 4.17.21...
``` stringSimilarity.findBestMatch('wall e', ['wall·e', 'wall']); stringSimilarity.findBestMatch('wall-e', ['wall·e', 'wall']); stringSimilarity.findBestMatch('wall_e', ['wall-e', 'wall']); ``` These all return 1, as though "wall" is the best match. They should all return 0, since they...
I am using compareTwoStrings in my own projects and have found a lot of use in having an optional parameter where you can give regex/string to replace by. In my...
Hello everyone, I hope all is doing good. I found a case in which there is a difference (search for ), the difference is that the first string has FLL...
minor change, var instead of let and const. PR: https://github.com/aceakash/string-similarity/pull/70
minor change, `var` instead of `let` and `const`.
This looks like expected behavior, but it could be useful to fall back to a simple algorithm if one of the inputs is a length 1 string. ```javascript if (first.length...