[Python] Meaning behind 'thefuzz' / 'rapidfuzz' similarity metric when comparing strings

Discussão em 'Python' iniciado por Stack, Julho 20, 2025.

  1. Stack

    Stack Membro Participativo

    When using thefuzz in Python to calculate a simple ratio between two strings, a result of 0 means they are totally different while a result of 100 represents a 100% match. What do intermediate results mean? Does a result of 82, say, mean that the two files are 82% similar? Or is it just an abstract idea of 'bigger is better?'

    The documentation is sadly lacking in any detail to answer this question, so far as I can tell.

    Continue reading...

Compartilhe esta Página