Skip to content

Commit

Permalink
0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nol13 committed Jun 21, 2017
1 parent 1d70084 commit 1b68523
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ var options = {wildcards: "*x"}; // '*' and 'x' are both wildcards
fuzz.ratio('fuzzba*l', 'fuXxball', options);
100
```
Note: Wildcards are currently **not supported** when astral is set to true. Also the token_sort algorithms that depend on token sort order will not take them into account. In fuzzball_lite, when calculating the unique tokens in a string, say for example 'fuzz' and 'f*zz', would be considered different tokens. In the full non-lite version the set functions will now take wildcards into account, though there will be a significant performance hit. Set options.tameTokens = true to fall back to the faster non-wildcard-aware set functions.
Note: Wildcards are currently **not supported** when astral is set to true. Also the token_sort algorithms that depend on token sort order will not take wildcards into account. In fuzzball_lite, when calculating the unique tokens in a string, say for example 'fuzz' and 'f*zz', would be considered different tokens. In the full non-lite version the set functions will now take wildcards into account, though there will be a performance hit. Set options.tameTokens = true to fall back to the faster non-wildcard-aware set functions even when still using wildcards for the ratio calculations.

### Fuzzy Dedupe

Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fuzzball",
"version": "0.11.6",
"version": "0.12.0",
"description": "Fuzzy string matching algorithms and utilities, port of the fuzzywuzzy Python library.",
"main": "fuzzball.js",
"files": [
Expand All @@ -13,10 +13,13 @@
"difflib": ">=0.2.4",
"heap": ">=0.2.0",
"lodash.difference": "^4.5.0",
"lodash.differencewith": "^4.5.0",
"lodash.foreach": "^4.5.0",
"lodash.intersection": "^4.4.0",
"lodash.intersectionwith": "^4.4.0",
"lodash.isarray": "^4.0.0",
"lodash.keys": "^4.2.0",
"lodash.partialright": "^4.2.1",
"lodash.toarray": "^4.4.0",
"lodash.uniq": "^4.5.0",
"lodash.uniqwith": "^4.5.0",
Expand Down

0 comments on commit 1b68523

Please sign in to comment.