diff options
Diffstat (limited to 'cli/source')
5 files changed, 20 insertions, 15 deletions
diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/hammingMetric.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/hammingMetric.scala index 9e8dcfc..9428bc2 100755 --- a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/hammingMetric.scala +++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/hammingMetric.scala @@ -48,9 +48,10 @@ object hammingMetric extends Command { val strings = options('dashless).split(" ") println( - HammingMetric.compare(strings(0), - strings(1))(new StringCleanerDelegate with CaseStringCleaner - ).getOrElse("not comparable").toString + HammingMetric.compare( + strings(0), + strings(1) + )(new StringCleanerDelegate with CaseStringCleaner).getOrElse("not comparable").toString ) } }
\ No newline at end of file diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroMetric.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroMetric.scala index 51a4958..922e285 100755 --- a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroMetric.scala +++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroMetric.scala @@ -48,9 +48,10 @@ object jaroMetric extends Command { val strings = options('dashless).split(" ") println( - JaroMetric.compare(strings(0), - strings(1))(new StringCleanerDelegate with CaseStringCleaner - ).getOrElse("not comparable").toString + JaroMetric.compare( + strings(0), + strings(1) + )(new StringCleanerDelegate with CaseStringCleaner).getOrElse("not comparable").toString ) } }
\ No newline at end of file diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroWinklerMetric.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroWinklerMetric.scala index af633ae..6509cc4 100755 --- a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroWinklerMetric.scala +++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroWinklerMetric.scala @@ -48,9 +48,10 @@ object jaroWinklerMetric extends Command { val strings = options('dashless).split(" ") println( - JaroWinklerMetric.compare(strings(0), - strings(1))(new StringCleanerDelegate with CaseStringCleaner - ).getOrElse("not comparable").toString + JaroWinklerMetric.compare( + strings(0), + strings(1) + )(new StringCleanerDelegate with CaseStringCleaner).getOrElse("not comparable").toString ) } }
\ No newline at end of file diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/levenshteinMetric.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/levenshteinMetric.scala index 5a2d2d6..59a73e8 100755 --- a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/levenshteinMetric.scala +++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/levenshteinMetric.scala @@ -49,9 +49,10 @@ object levenshteinMetric extends Command { val strings = options('dashless).split(" ") println( - LevenshteinMetric.compare(strings(0), - strings(1))(new StringCleanerDelegate with CaseStringCleaner - ).getOrElse("not comparable").toString + LevenshteinMetric.compare( + strings(0), + strings(1) + )(new StringCleanerDelegate with CaseStringCleaner).getOrElse("not comparable").toString ) } }
\ No newline at end of file diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/soundexMetric.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/soundexMetric.scala index f0b204e..cb119c2 100755 --- a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/soundexMetric.scala +++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/soundexMetric.scala @@ -48,9 +48,10 @@ object soundexMetric extends Command { val strings = options('dashless).split(" ") println( - SoundexMetric.compare(strings(0), - strings(1))(new StringCleanerDelegate - ).getOrElse("not comparable").toString + SoundexMetric.compare( + strings(0), + strings(1) + )(new StringCleanerDelegate).getOrElse("not comparable").toString ) } }
\ No newline at end of file |