Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there any plan to return the matched segment in function "extract" ? #394

Open
dwykat opened this issue Jul 25, 2024 · 0 comments
Open

Comments

@dwykat
Copy link

dwykat commented Jul 25, 2024

Besides the matched score, I also need the matched segment. Using rapidfuzz.fuzz.partial_ratio_alignment, I can get the segment range postions. But in my python project, I use the "extract" method to find the best matches in a list of choices, the function only get matched score, whichi ignores the string segment positional information. the default running engine is cpp, so I can't do much.., if changing to 'python', run time is another question. So, I submit it here...thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant