summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xreadme.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index 5f97dde..9a600b5 100755
--- a/readme.md
+++ b/readme.md
@@ -243,6 +243,30 @@ h093
l7081096
```
+__Soundex Metric:__
+```scala
+println(SoundexMetric.compare("robert", "rupert"))
+println(SoundexMetric.compare("robert", "rubin"))
+```
+
+Output:
+```
+true
+false
+```
+
+__Soundex Algorithm:__
+```scala
+println(SoundexAlgorithm.compute("rupert"))
+println(SoundexAlgorithm.compute("lukasiewicz"))
+```
+
+Output:
+```
+r163
+l222
+```
+
## Todo
* SmithWaterman
* MongeElkan