summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rwxr-xr-xreadme.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index 395d155..56174bf 100755
--- a/readme.md
+++ b/readme.md
@@ -5,6 +5,7 @@ A collection of string metrics implemented in Scala. Includes a light-weight cor
* Jaro
* Jaro-Winkler
* Levenshtein
+* Metaphone
* Soundex
## Building the API
@@ -15,11 +16,9 @@ gradle tar
## Using the API
`// Import metric of choice.`
-`import org.hashtree.stringmetric.JaroWinklerMetric`
-`// Optionally import metric implicit stringCleaner into scope.`
-`import org.hashtree.stringmetric.JaroWinklerMetric.stringCleaner`
+`import org.hashtree.stringmetric.distance.JaroWinklerMetric`
-`// Invoke metric compare method with implicit stringCleaner.`
+`// Invoke metric compare method.`
`val distance = JaroWinklerMetric.compare("string1", "string2")`
`// Do something. In this case, distance is between 1.0f and 0.0f.`