Skip to content

Consider RapidFuzz for string ratio #284

Description

@Avasam

https://github.com/Toufool/AutoSplit/pull/272/files/f1ba4108a91aa23ace77f002b279b9f985979924..d1dfff05bd16f4056e462c8a3aaa90cd388f258e#r1485629122

As mentioned in rapidfuzz/Levenshtein#60 (comment)
we could consider https://github.com/rapidfuzz/RapidFuzz?tab=readme-ov-file#partial-ratio from a quick glance it might allow fast partial string match with a ratio. And for perfect matches, the user can use a threshold of 1.0.

CC @ston1th

Metadata

Metadata

Assignees

No one assigned

    Labels

    OCROptical Character RecognitionenhancementNew feature or enhancement requestoptimizationOptimization of existing features

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions