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.
The package.json reports the license to be ISC, while the LICENSE file reports it to be MIT. It's quite important that this is fixed as license reporting tools will rightfully...
Hello! If I try to compare two strings like `compareTwoStrings("set", "st");` the result is always 0. Strings with length lower than 3 cannot be compared. Is this normal? Greatings!
**Use case:** Instead of wanting to compare `["foo","bar","baz"]`, it can be useful to pass in an array of objects for which you want to compare one property, i.e. ``` [...
#### Use case: Instead of wanting to compare `["foo","bar","baz"]`, it can be useful to pass in an array of objects for which you want to compare one property, i.e. ```js...
I am pretty sure I did it correctly I have the first as a string and the second as an array the code is ```js const pokemons = require('../../arrays/pokemons.js') const...
Your algorithm is not the Dice coefficient. It counts all bigram duplicates, whereas the Dice coefficient only counts distinct bigrams (as defined in Wikipedia). As an example, let's compare two...
I need to compare two strings completely, that means it should also detect spaces and caps. I have read the relase notes, and I don't understand why you decided to...
All in the title.
Bumps [webpack](https://github.com/webpack/webpack) from 5.11.1 to 5.47.1. Release notes Sourced from webpack's releases. v5.47.1 Bugfixes upgrade webpack-sources for a bunch of bugfixes regarding source maps and missing chars in output v5.47.0...
Bumps [jasmine](https://github.com/jasmine/jasmine-npm) from 3.6.3 to 3.8.0. Release notes Sourced from jasmine's releases. 3.8.0 Please see the release notes. 3.7.0 Please see the release notes. 3.6.4 Please see the release notes....