When to use which fuzz function to compare 2 strings
I am learning fuzzywuzzy in Python. I understand the concept of fuzz.ratio , fuzz.partial_ratio , fuzz.token_sort_ratio and fuzz.token_set_ratio . My question is when to use which function? Do I check the 2 strings' length first, say if not similar, then rule out fuzz.partial_ratio ? If the 2 strings' length are similar, I'll use fuzz.token_sort_ratio ? Should I always use fuzz.token_set_ratio ? Anyone knows what criteria SeatGeek uses? I am trying to build a real estate website, thinking to use fuzzywuzzy to compare addresses. Rick Hanlon II Great question. I'm an engineer at SeatGeek, so I