Update README.md
parent
6a190ecba5
commit
aeb26abdba
|
@ -59,7 +59,7 @@ It is particularly fast for QGram-distances (each element is processed once).
|
|||
|
||||
|
||||
### similarly scores
|
||||
- The function `compare` is defined as 1 minus the normalized distance between two strings. It always returns a Float64. A value of 0.0 means completely different and a value of 1.0 means completely similar.
|
||||
- The function `compare` returns the similarity score, defined as 1 minus the normalized distance between two strings. It always returns a Float64. A value of 0.0 means completely different and a value of 1.0 means completely similar.
|
||||
|
||||
```julia
|
||||
Levenshtein()("martha", "martha")
|
||||
|
|
Loading…
Reference in New Issue