Skip to content

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

Description

@dwykat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions