seatgeek/thefuzz

Limit results on score

maiiabocharova opened this issue · 1 comments

Feature request:
It would be great to also be able to limit results returned by the process.extract by the similarity score and not only on number of items returned.

Thank you for a wonderful project!

I think process.extractBests is what you are looking for. It appears to be the same function as process.extract with an additional score_cutoff parameter.