diff options
author | Rocky Madden <git@rockymadden.com> | 2012-10-29 13:15:12 -0600 |
---|---|---|
committer | Rocky Madden <git@rockymadden.com> | 2012-10-29 13:15:12 -0600 |
commit | f6decf5596d65474ef82fc187f05b1d9d70e5ab2 (patch) | |
tree | 8a02323e7307a9000c1fae5611996bc6ac431bde | |
parent | bc7d3b712c50b105da8d3b733605bba4171ca63e (diff) | |
download | stringmetric-f6decf5596d65474ef82fc187f05b1d9d70e5ab2.tar.gz stringmetric-f6decf5596d65474ef82fc187f05b1d9d70e5ab2.tar.bz2 stringmetric-f6decf5596d65474ef82fc187f05b1d9d70e5ab2.zip |
Fixed old documentation references.
-rwxr-xr-x | readme.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |