Permalink
Browse files

Adjusted match ratio. It was annoyingly low.

  • Loading branch information...
1 parent 4c035d9 commit 2d617646967c710b7a9a73c3427788c45cd02e10 @MusikPolice committed Jul 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app.py
View
2 app.py
@@ -47,7 +47,7 @@ def CombineDirectoryContents (dirToKeep, dirToCopy):
# utilizes fuzzywuzzy string matching library
# TODO: make acceptance ratio configurable
def like(string1, string2):
- return fuzz.partial_ratio(string1, string2) >= 75
+ return fuzz.partial_ratio(string1, string2) >= 80
# a new approach that pre-computes the merges

0 comments on commit 2d61764

Please sign in to comment.