Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Return best Bitap score #102

Open
roman-verbit-ai opened this issue Sep 23, 2020 · 0 comments
Open

Return best Bitap score #102

roman-verbit-ai opened this issue Sep 23, 2020 · 0 comments

Comments

@roman-verbit-ai
Copy link

I am interested in using the Bitap algorithm in order to compute similarity between two strings.
In my use case, I also need to get the score itself, however, the current API does not return anything except the index of the best match.

I need to do A LOT of these matches, and it requires caching the scores (to avoid calculating them again and again for the same strings).

It would be very useful if you could allow would returning the score of the best candidate when using match_main
(by introducing another wrapper method or flag or whatever solution).
I can do it myself for Python, but I guess an API change would require to do it for the rest of the languages as well...

How would you recommend to go about this?

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

No branches or pull requests

1 participant