Update README.md

compathelper/new_version/2020-05-20-12-03-08-092-188304956
matthieugomez 2020-03-03 06:52:39 -05:00
parent cd0917e7df
commit 6ff628f34a
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ The available distances are:
## Basic Use
### Evaluate
You can always compute a certain distance between two strings (or iterators) using the following syntax:
You can always compute a certain distance between two strings using the following syntax:
```julia
evaluate(dist, s1, s2)
@ -42,7 +42,7 @@ evaluate(Levenshtein(), "martha", "marhta")
Levenshtein()("martha", "marhta")
```
You can also compute the distances between two iterators for which there exists a `length` method:
You can also compute the distances between two iterators, as long as there exists a `length` method:
```julia
evaluate(Levenshtein(), [1, 5, 6], [1, 6, 5])
2