summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorRocky Madden <git@rockymadden.com>2012-10-29 15:59:47 -0600
committerRocky Madden <git@rockymadden.com>2012-10-29 15:59:47 -0600
commitb5fd437b9b9629ca7e5f424ea622eb8e03c180ca (patch)
tree5efa2d80ebe40459e2b0d054120f0dc255f94e35 /cli
parent2ca768afd8dc92832d6a67c5cecd11103383f3d5 (diff)
downloadstringmetric-b5fd437b9b9629ca7e5f424ea622eb8e03c180ca.tar.gz
stringmetric-b5fd437b9b9629ca7e5f424ea622eb8e03c180ca.tar.bz2
stringmetric-b5fd437b9b9629ca7e5f424ea622eb8e03c180ca.zip
Renamed filter to AsciiLetterCaseStringFilter to more accurately describe purpose.
Diffstat (limited to 'cli')
-rwxr-xr-xcli/source/core/scala/org/hashtree/stringmetric/cli/command/diceSorensenMetric.scala4
-rwxr-xr-xcli/source/core/scala/org/hashtree/stringmetric/cli/command/hammingMetric.scala4
-rwxr-xr-xcli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroMetric.scala4
-rwxr-xr-xcli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroWinklerMetric.scala4
-rwxr-xr-xcli/source/core/scala/org/hashtree/stringmetric/cli/command/levenshteinMetric.scala4
5 files changed, 10 insertions, 10 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 d1e7d32..a0f5dc5 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.{ AsciiCaseStringFilter, StringFilterDelegate }
+import org.hashtree.stringmetric.{ AsciiLetterCaseStringFilter, StringFilterDelegate }
import org.hashtree.stringmetric.cli._
import org.hashtree.stringmetric.cli.command._
import org.hashtree.stringmetric.similarity.DiceSorensenMetric
@@ -50,7 +50,7 @@ object diceSorensenMetric extends Command {
DiceSorensenMetric.compare(
strings(0),
strings(1)
- )(new StringFilterDelegate with AsciiCaseStringFilter).getOrElse("not comparable").toString
+ )(new StringFilterDelegate with AsciiLetterCaseStringFilter).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 b336cf5..29c6481 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.{ AsciiCaseStringFilter, StringFilterDelegate }
+import org.hashtree.stringmetric.{ AsciiLetterCaseStringFilter, StringFilterDelegate }
import org.hashtree.stringmetric.cli._
import org.hashtree.stringmetric.cli.command._
import org.hashtree.stringmetric.similarity.HammingMetric
@@ -50,7 +50,7 @@ object hammingMetric extends Command {
HammingMetric.compare(
strings(0),
strings(1)
- )(new StringFilterDelegate with AsciiCaseStringFilter).getOrElse("not comparable").toString
+ )(new StringFilterDelegate with AsciiLetterCaseStringFilter).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 cb12910..156834c 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.{ AsciiCaseStringFilter, StringFilterDelegate }
+import org.hashtree.stringmetric.{ AsciiLetterCaseStringFilter, StringFilterDelegate }
import org.hashtree.stringmetric.cli._
import org.hashtree.stringmetric.cli.command._
import org.hashtree.stringmetric.similarity.JaroMetric
@@ -50,7 +50,7 @@ object jaroMetric extends Command {
JaroMetric.compare(
strings(0),
strings(1)
- )(new StringFilterDelegate with AsciiCaseStringFilter).getOrElse("not comparable").toString
+ )(new StringFilterDelegate with AsciiLetterCaseStringFilter).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 75ddc8b..225311a 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.{ AsciiCaseStringFilter, StringFilterDelegate }
+import org.hashtree.stringmetric.{ AsciiLetterCaseStringFilter, StringFilterDelegate }
import org.hashtree.stringmetric.cli._
import org.hashtree.stringmetric.cli.command._
import org.hashtree.stringmetric.similarity.JaroWinklerMetric
@@ -50,7 +50,7 @@ object jaroWinklerMetric extends Command {
JaroWinklerMetric.compare(
strings(0),
strings(1)
- )(new StringFilterDelegate with AsciiCaseStringFilter).getOrElse("not comparable").toString
+ )(new StringFilterDelegate with AsciiLetterCaseStringFilter).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 7044062..cd259e4 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.{ AsciiCaseStringFilter, StringFilterDelegate }
+import org.hashtree.stringmetric.{ AsciiLetterCaseStringFilter, StringFilterDelegate }
import org.hashtree.stringmetric.cli._
import org.hashtree.stringmetric.cli.command._
import org.hashtree.stringmetric.similarity.LevenshteinMetric
@@ -51,7 +51,7 @@ object levenshteinMetric extends Command {
LevenshteinMetric.compare(
strings(0),
strings(1)
- )(new StringFilterDelegate with AsciiCaseStringFilter).getOrElse("not comparable").toString
+ )(new StringFilterDelegate with AsciiLetterCaseStringFilter).getOrElse("not comparable").toString
)
}
} \ No newline at end of file