rapidfuzz / RapidFuzz

Rapid fuzzy string matching in Python using various string metrics

Home Page:https://rapidfuzz.github.io/RapidFuzz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: function to call process.extract with ProcessPoolExecutor (hidden API detail) and multiple names matched to fixed candidates, scorer, limit and chunksize(processpoolexecutor argument)

i30817 opened this issue · comments

It seems it would be handy. A annoying problem with this is that sometimes you want to cancel\avoid a name with app specific requirements and you have to rebuild the list (which if you're using a API like this is likely huge), so a function that filtered in place and a return that indicated if a name was filtered before running process.extract would be nice.

Im unsure if this is possible with named arguments in the process.extract function instead of positional arguments, because of the way executor.map works by repeating iterables for all function arguments...

Never mind, figured how to do this, I think.