summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRocky Madden <git@rockymadden.com>2012-10-29 13:15:12 -0600
committerRocky Madden <git@rockymadden.com>2012-10-29 13:15:12 -0600
commitf6decf5596d65474ef82fc187f05b1d9d70e5ab2 (patch)
tree8a02323e7307a9000c1fae5611996bc6ac431bde
parentbc7d3b712c50b105da8d3b733605bba4171ca63e (diff)
downloadstringmetric-f6decf5596d65474ef82fc187f05b1d9d70e5ab2.tar.gz
stringmetric-f6decf5596d65474ef82fc187f05b1d9d70e5ab2.tar.bz2
stringmetric-f6decf5596d65474ef82fc187f05b1d9d70e5ab2.zip
Fixed old documentation references.
-rwxr-xr-xreadme.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index 70c6d03..067fb4f 100755
--- a/readme.md
+++ b/readme.md
@@ -18,12 +18,12 @@ gradle tar
## Using the API
`// Import metric of choice.`
-`import org.hashtree.stringmetric.distance.JaroWinklerMetric`
+`import org.hashtree.stringmetric.similarity.JaroWinklerMetric`
`// Invoke metric compare method.`
`val distance = JaroWinklerMetric.compare("string1", "string2")`
-`// Do something. In this case, distance is between 1.0f and 0.0f.`
+`// Do something. In this case, distance is between 1.0 and 0.0.`
`if (distance >= 0.9) println("It's likely you're a match!")`
## Using the CLI