diff options
author | Rocky Madden <git@rockymadden.com> | 2012-10-26 19:31:00 -0600 |
---|---|---|
committer | Rocky Madden <git@rockymadden.com> | 2012-10-26 19:31:00 -0600 |
commit | b98b36d4b6b50c54ff724148ec0e2c31e4d5eb6d (patch) | |
tree | f3e319a957027b29074448b0f1d8f486c2b9a46d /cli/source | |
parent | b042c8d7210aba5e2a6d8c35f06f2ecfa80c73c9 (diff) | |
download | stringmetric-b98b36d4b6b50c54ff724148ec0e2c31e4d5eb6d.tar.gz stringmetric-b98b36d4b6b50c54ff724148ec0e2c31e4d5eb6d.tar.bz2 stringmetric-b98b36d4b6b50c54ff724148ec0e2c31e4d5eb6d.zip |
Renamed cleaners to filters, as the name is more apt.
Diffstat (limited to 'cli/source')
7 files changed, 14 insertions, 14 deletions
diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/diceSorensenMetric.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/diceSorensenMetric.scala index 5906acf..bddae46 100755 --- a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/diceSorensenMetric.scala +++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/diceSorensenMetric.scala @@ -1,6 +1,6 @@ package org.hashtree.stringmetric.cli.command -import org.hashtree.stringmetric.{ AsciiCaseStringCleaner, StringCleanerDelegate } +import org.hashtree.stringmetric.{ AsciiCaseStringFilter, StringFilterDelegate } import org.hashtree.stringmetric.cli._ import org.hashtree.stringmetric.cli.command._ import org.hashtree.stringmetric.similarity.DiceSorensenMetric @@ -52,7 +52,7 @@ object diceSorensenMetric extends Command { DiceSorensenMetric.compare( strings(0), strings(1) - )(new StringCleanerDelegate with AsciiCaseStringCleaner).getOrElse("not comparable").toString + )(new StringFilterDelegate with AsciiCaseStringFilter).getOrElse("not comparable").toString ) } }
\ No newline at end of file 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 4068c84..cdb1864 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 @@ -1,6 +1,6 @@ package org.hashtree.stringmetric.cli.command -import org.hashtree.stringmetric.{ AsciiCaseStringCleaner, StringCleanerDelegate } +import org.hashtree.stringmetric.{ AsciiCaseStringFilter, StringFilterDelegate } import org.hashtree.stringmetric.cli._ import org.hashtree.stringmetric.cli.command._ import org.hashtree.stringmetric.similarity.HammingMetric @@ -52,7 +52,7 @@ object hammingMetric extends Command { HammingMetric.compare( strings(0), strings(1) - )(new StringCleanerDelegate with AsciiCaseStringCleaner).getOrElse("not comparable").toString + )(new StringFilterDelegate with AsciiCaseStringFilter).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 28d7abb..7e9fa07 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 @@ -1,6 +1,6 @@ package org.hashtree.stringmetric.cli.command -import org.hashtree.stringmetric.{ AsciiCaseStringCleaner, StringCleanerDelegate } +import org.hashtree.stringmetric.{ AsciiCaseStringFilter, StringFilterDelegate } import org.hashtree.stringmetric.cli._ import org.hashtree.stringmetric.cli.command._ import org.hashtree.stringmetric.similarity.JaroMetric @@ -52,7 +52,7 @@ object jaroMetric extends Command { JaroMetric.compare( strings(0), strings(1) - )(new StringCleanerDelegate with AsciiCaseStringCleaner).getOrElse("not comparable").toString + )(new StringFilterDelegate with AsciiCaseStringFilter).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 1a031b3..bfaa7e9 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 @@ -1,6 +1,6 @@ package org.hashtree.stringmetric.cli.command -import org.hashtree.stringmetric.{ AsciiCaseStringCleaner, StringCleanerDelegate } +import org.hashtree.stringmetric.{ AsciiCaseStringFilter, StringFilterDelegate } import org.hashtree.stringmetric.cli._ import org.hashtree.stringmetric.cli.command._ import org.hashtree.stringmetric.similarity.JaroWinklerMetric @@ -52,7 +52,7 @@ object jaroWinklerMetric extends Command { JaroWinklerMetric.compare( strings(0), strings(1) - )(new StringCleanerDelegate with AsciiCaseStringCleaner).getOrElse("not comparable").toString + )(new StringFilterDelegate with AsciiCaseStringFilter).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 a4c917f..1364a5a 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 @@ -1,6 +1,6 @@ package org.hashtree.stringmetric.cli.command -import org.hashtree.stringmetric.{ AsciiCaseStringCleaner, StringCleanerDelegate } +import org.hashtree.stringmetric.{ AsciiCaseStringFilter, StringFilterDelegate } import org.hashtree.stringmetric.cli._ import org.hashtree.stringmetric.cli.command._ import org.hashtree.stringmetric.similarity.LevenshteinMetric @@ -53,7 +53,7 @@ object levenshteinMetric extends Command { LevenshteinMetric.compare( strings(0), strings(1) - )(new StringCleanerDelegate with AsciiCaseStringCleaner).getOrElse("not comparable").toString + )(new StringFilterDelegate with AsciiCaseStringFilter).getOrElse("not comparable").toString ) } }
\ No newline at end of file diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/metaphoneMetric.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/metaphoneMetric.scala index 9687273..6e46de9 100755 --- a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/metaphoneMetric.scala +++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/metaphoneMetric.scala @@ -1,6 +1,6 @@ package org.hashtree.stringmetric.cli.command -import org.hashtree.stringmetric.StringCleanerDelegate +import org.hashtree.stringmetric.StringFilterDelegate import org.hashtree.stringmetric.cli._ import org.hashtree.stringmetric.cli.command._ import org.hashtree.stringmetric.phonetic.MetaphoneMetric @@ -52,7 +52,7 @@ object metaphoneMetric extends Command { MetaphoneMetric.compare( strings(0), strings(1) - )(new StringCleanerDelegate).getOrElse("not comparable").toString + )(new StringFilterDelegate).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 0d52972..c9590c3 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 @@ -1,6 +1,6 @@ package org.hashtree.stringmetric.cli.command -import org.hashtree.stringmetric.StringCleanerDelegate +import org.hashtree.stringmetric.StringFilterDelegate import org.hashtree.stringmetric.cli._ import org.hashtree.stringmetric.cli.command._ import org.hashtree.stringmetric.phonetic.SoundexMetric @@ -52,7 +52,7 @@ object soundexMetric extends Command { SoundexMetric.compare( strings(0), strings(1) - )(new StringCleanerDelegate).getOrElse("not comparable").toString + )(new StringFilterDelegate).getOrElse("not comparable").toString ) } }
\ No newline at end of file |