diff options
author | Rocky Madden <git@rockymadden.com> | 2013-12-28 11:55:39 -0700 |
---|---|---|
committer | Rocky Madden <git@rockymadden.com> | 2013-12-28 11:55:39 -0700 |
commit | ba7295409ed82fe4ae30a871004226465a758859 (patch) | |
tree | a9520424b38b3a712c387aa4d46a12b83a9fb65b /core/source | |
parent | ef997c15f2ac152b53f05669f1d6bb9aa00aded7 (diff) | |
download | stringmetric-ba7295409ed82fe4ae30a871004226465a758859.tar.gz stringmetric-ba7295409ed82fe4ae30a871004226465a758859.tar.bz2 stringmetric-ba7295409ed82fe4ae30a871004226465a758859.zip |
Renamed package.
Diffstat (limited to 'core/source')
-rwxr-xr-x | core/source/benchmark/scala/com/rockymadden/stringmetric/tokenize/NGramTokenizerBenchmark.scala (renamed from core/source/benchmark/scala/com/rockymadden/stringmetric/tokenization/NGramTokenizerBenchmark.scala) | 2 | ||||
-rwxr-xr-x | core/source/main/scala/com/rockymadden/stringmetric/similarity/DiceSorensenMetric.scala | 2 | ||||
-rwxr-xr-x | core/source/main/scala/com/rockymadden/stringmetric/similarity/JaccardMetric.scala | 2 | ||||
-rwxr-xr-x | core/source/main/scala/com/rockymadden/stringmetric/similarity/NGramMetric.scala | 2 | ||||
-rwxr-xr-x | core/source/main/scala/com/rockymadden/stringmetric/similarity/OverlapMetric.scala | 2 | ||||
-rwxr-xr-x | core/source/main/scala/com/rockymadden/stringmetric/tokenize/NGramTokenizer.scala (renamed from core/source/main/scala/com/rockymadden/stringmetric/tokenization/NGramTokenizer.scala) | 2 | ||||
-rwxr-xr-x | core/source/test/scala/com/rockymadden/stringmetric/tokenize/NGramTokenizerSpec.scala (renamed from core/source/test/scala/com/rockymadden/stringmetric/tokenization/NGramTokenizerSpec.scala) | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/core/source/benchmark/scala/com/rockymadden/stringmetric/tokenization/NGramTokenizerBenchmark.scala b/core/source/benchmark/scala/com/rockymadden/stringmetric/tokenize/NGramTokenizerBenchmark.scala index 7e62662..dbc48d4 100755 --- a/core/source/benchmark/scala/com/rockymadden/stringmetric/tokenization/NGramTokenizerBenchmark.scala +++ b/core/source/benchmark/scala/com/rockymadden/stringmetric/tokenize/NGramTokenizerBenchmark.scala @@ -1,4 +1,4 @@ -package com.rockymadden.stringmetric.tokenization +package com.rockymadden.stringmetric.tokenize import com.google.caliper.Param import com.rockymadden.stringmetric.{CaliperBenchmark, CaliperRunner} diff --git a/core/source/main/scala/com/rockymadden/stringmetric/similarity/DiceSorensenMetric.scala b/core/source/main/scala/com/rockymadden/stringmetric/similarity/DiceSorensenMetric.scala index 8381921..21c9f16 100755 --- a/core/source/main/scala/com/rockymadden/stringmetric/similarity/DiceSorensenMetric.scala +++ b/core/source/main/scala/com/rockymadden/stringmetric/similarity/DiceSorensenMetric.scala @@ -7,7 +7,7 @@ import com.rockymadden.stringmetric.Metric.StringMetricLike * Traditionally, the algorithm uses bigrams. */ final case class DiceSorensenMetric(private val n: Int) extends StringMetricLike[Double] { - import com.rockymadden.stringmetric.tokenization.NGramTokenizer + import com.rockymadden.stringmetric.tokenize.NGramTokenizer import com.rockymadden.stringmetric.MatchTuple override def compare(a: Array[Char], b: Array[Char]): Option[Double] = { diff --git a/core/source/main/scala/com/rockymadden/stringmetric/similarity/JaccardMetric.scala b/core/source/main/scala/com/rockymadden/stringmetric/similarity/JaccardMetric.scala index e1fd4ed..154ee48 100755 --- a/core/source/main/scala/com/rockymadden/stringmetric/similarity/JaccardMetric.scala +++ b/core/source/main/scala/com/rockymadden/stringmetric/similarity/JaccardMetric.scala @@ -3,7 +3,7 @@ package com.rockymadden.stringmetric.similarity import com.rockymadden.stringmetric.Metric.StringMetricLike final case class JaccardMetric(private val n: Int) extends StringMetricLike[Double] { - import com.rockymadden.stringmetric.tokenization.NGramTokenizer + import com.rockymadden.stringmetric.tokenize.NGramTokenizer override def compare(a: Array[Char], b: Array[Char]): Option[Double] = { if (n <= 0) return None diff --git a/core/source/main/scala/com/rockymadden/stringmetric/similarity/NGramMetric.scala b/core/source/main/scala/com/rockymadden/stringmetric/similarity/NGramMetric.scala index 8025f38..f6397f1 100755 --- a/core/source/main/scala/com/rockymadden/stringmetric/similarity/NGramMetric.scala +++ b/core/source/main/scala/com/rockymadden/stringmetric/similarity/NGramMetric.scala @@ -4,7 +4,7 @@ import com.rockymadden.stringmetric.Metric.StringMetricLike final case class NGramMetric(private val n: Int) extends StringMetricLike[Double] { import com.rockymadden.stringmetric.MatchTuple - import com.rockymadden.stringmetric.tokenization.NGramTokenizer + import com.rockymadden.stringmetric.tokenize.NGramTokenizer import scala.math override def compare(a: Array[Char], b: Array[Char]): Option[Double] = { diff --git a/core/source/main/scala/com/rockymadden/stringmetric/similarity/OverlapMetric.scala b/core/source/main/scala/com/rockymadden/stringmetric/similarity/OverlapMetric.scala index 3bfe604..f4c66b7 100755 --- a/core/source/main/scala/com/rockymadden/stringmetric/similarity/OverlapMetric.scala +++ b/core/source/main/scala/com/rockymadden/stringmetric/similarity/OverlapMetric.scala @@ -4,7 +4,7 @@ import com.rockymadden.stringmetric.Metric.StringMetricLike final case class OverlapMetric(private val n: Int) extends StringMetricLike[Double] { import com.rockymadden.stringmetric.MatchTuple - import com.rockymadden.stringmetric.tokenization.NGramTokenizer + import com.rockymadden.stringmetric.tokenize.NGramTokenizer import scala.math override def compare(a: Array[Char], b: Array[Char]): Option[Double] = { diff --git a/core/source/main/scala/com/rockymadden/stringmetric/tokenization/NGramTokenizer.scala b/core/source/main/scala/com/rockymadden/stringmetric/tokenize/NGramTokenizer.scala index 209288f..6769bde 100755 --- a/core/source/main/scala/com/rockymadden/stringmetric/tokenization/NGramTokenizer.scala +++ b/core/source/main/scala/com/rockymadden/stringmetric/tokenize/NGramTokenizer.scala @@ -1,4 +1,4 @@ -package com.rockymadden.stringmetric.tokenization +package com.rockymadden.stringmetric.tokenize import com.rockymadden.stringmetric.Tokenizer.StringTokenizerLike diff --git a/core/source/test/scala/com/rockymadden/stringmetric/tokenization/NGramTokenizerSpec.scala b/core/source/test/scala/com/rockymadden/stringmetric/tokenize/NGramTokenizerSpec.scala index 1598a93..01636f0 100755 --- a/core/source/test/scala/com/rockymadden/stringmetric/tokenization/NGramTokenizerSpec.scala +++ b/core/source/test/scala/com/rockymadden/stringmetric/tokenize/NGramTokenizerSpec.scala @@ -1,4 +1,4 @@ -package com.rockymadden.stringmetric.tokenization +package com.rockymadden.stringmetric.tokenize import com.rockymadden.stringmetric.ScalaTest import org.junit.runner.RunWith |