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

Consider RapidFuzz for string ratio #284

Open
Avasam opened this issue Jun 15, 2024 · 0 comments
Open

Consider RapidFuzz for string ratio #284

Avasam opened this issue Jun 15, 2024 · 0 comments
Labels
enhancement New feature or enhancement request OCR Optical Character Recognition optimization Optimization of existing features

Comments

@Avasam
Copy link
Collaborator

Avasam commented Jun 15, 2024

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

@Avasam Avasam added enhancement New feature or enhancement request optimization Optimization of existing features OCR Optical Character Recognition labels Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement request OCR Optical Character Recognition optimization Optimization of existing features
Projects
None yet
Development

No branches or pull requests

1 participant