pull/7/head
matthieugomez 2018-05-17 11:26:36 -04:00
parent b52d358b47
commit fb619ed4c5
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,8 @@ The package includes distance "modifiers", that can be applied to any distance.
```
## Evaluate vs Compare
The function `evaluate` returns the litteral distance between two strings, with a value of 0 being completely similar.
The function `compare` is the opposite of `evaluate`: a value of 0 means completely different and a value of 1 means completely similar.
In contrast, the function `compare` returns a similarity score: a value of 0 means completely different and a value of 1 means completely similar.
```julia
evaluate(Levenshtein(), "New York", "New York")