Comments (6)
@ojomio pr please! :)
from fuzzywuzzy.
Closed by #60. Thanks for the pull request!
from fuzzywuzzy.
Today it suddenly hit me, that in current implementation every two strings that have a word in common will produce 100% match, because two of three comparisons here https://github.com/seatgeek/fuzzywuzzy/blob/master/fuzzywuzzy/fuzz.py#L186
are comparisons of intersection with 'intersection + stuff', which, if partial, is always 100. Is that normal or should we modify the behavior, I personally would leave only combined_1to2
to combined_2to1
check
from fuzzywuzzy.
OK, than we have combined_1to2
and combined_2to1
, which have intersection at their beginning
Is this possible at all, that partial_ratio
will find offset other than zero where these two strings will be more similar?
I mean, now I don't know if there is sense having partial option at all...
from fuzzywuzzy.
@acslater00 thoughts?
from fuzzywuzzy.
@josegonzalez You should have yelled at me in rage :) No matter which offset be found, but at lest at offset zero ratio()
will be calculated with the substring of the longer string of length of the shorter string, and not the whole longer string. Thus, it seems there is sense in having such option
from fuzzywuzzy.
Related Issues (20)
- Thank you for the fuzzywyzzy!
- `process.dedupe()` gives IndexError: list index out of range because of bug in `process.extractWithoutOrder()`
- Missing functions after import. HOT 2
- What is the max possible value (upper bound) for fuzz.ratio? HOT 4
- Measuring Small changes over large documents HOT 1
- Wired behavior of partial_ratio HOT 1
- process.extract broken in fuzzywuzzy=0.13 HOT 3
- How to compare each and every row with every row in same column and delete matching rows with ratio > 90
- String fuzzy-matching From R to Python HOT 1
- Installing python-Levenshtein as suggested by the warnings gives different results. HOT 1
- utils.full_process executed when processor=None HOT 1
- Please rename this package to "FuzzyMatch" or similar. HOT 2
- Search for matches in an array of complex objects.
- Mark repository as archived
- token_set_ratio Degenerate Case
- 'list' object has no attribute 'items'
- How to decrease False positive matches? (process.extract / WRatio) HOT 3
- NameError: name 'ratio' is not defined HOT 3
- license issue HOT 3
- problem of fuzz.ratio with newer ver (22) of python-Lev. distance HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuzzywuzzy.