Update README.md

pull/17/head
matthieugomez 2019-08-20 12:34:18 -04:00
parent 5aa033bf05
commit bdf13765d3
1 changed files with 2 additions and 1 deletions

View File

@ -102,7 +102,8 @@ evaluate(Levenshtein(), "New York", "New York")
## Extract
An experimental `extract` funciton finds the best match in an iterator of AbstractStrings:
```julia
extract("New York", ["NewYork", "Newark", "San Francisco"], Levenshtein()) = "NewYork"
extract("New York", ["NewYork", "Newark", "San Francisco"], Levenshtein())
#> "NewYork"
```
The function works for `Levenshtein`, `DamerauLevenshtein`, possibly modified by `Partial`, `TokenSort`, `TokenSet`, `TokenMax`