From 5f29153d64d484728cdb4360422bf0a5aebc8424 Mon Sep 17 00:00:00 2001 From: Rocky Madden Date: Wed, 23 Jan 2013 13:41:49 -0700 Subject: Bolded example heading and changed outputs to output. --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 057bd32..eac10f5 100755 --- a/readme.md +++ b/readme.md @@ -19,13 +19,13 @@ String metrics and phonetic algorithms implemented in Scala. The library provide ## Similarity package Useful for approximate string matching and measurement of string distance. Most metrics calculate the similarity of two strings as a double with a value between 0 and 1. A value of 0 being completely different and a value of 1 being completely similar. -Dice / Sorensen Metric: +__Dice / Sorensen Metric:__ ```scala println(DiceSorensenMetric.compare("night", "nacht")) println(DiceSorensenMetric.compare("context", "contact") ``` -Outputs: +Output: ```shell 0.6 0.7142857142857143 -- cgit v1.2.3