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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions