diff options
Diffstat (limited to 'cli')
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/metaphonealgorithm.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/metaphoneAlgorithm.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/metaphonemetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/metaphoneMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisalgorithm.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisAlgorithm.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/nysiismetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinednysiisalgorithm.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedNysiisAlgorithm.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinednysiismetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedNysiisMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedsoundexalgorithm.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedSoundexAlgorithm.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedsoundexmetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedSoundexMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/soundexalgorithm.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/soundexAlgorithm.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/soundexmetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/soundexMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/dicesorensenmetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/diceSorensenMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/hammingmetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/hammingMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jaccardmetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jaccardMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jarometric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jaroMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jarowinklermetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jaroWinklerMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/levenshteinmetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/levenshteinMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/ngrammetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/nGramMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/overlapmetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/overlapMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/ratcliffobershelpmetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/ratcliffObershelpMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/weightedlevenshteinmetric.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/weightedLevenshteinMetric.scala) | 6 | ||||
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/tokenization/ngramtokenizer.scala (renamed from cli/source/core/scala/com/rockymadden/stringmetric/cli/tokenization/nGramTokenizer.scala) | 6 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/metaphonealgorithmSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/metaphoneAlgorithmSpec.scala) | 12 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/metaphonemetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/metaphoneMetricSpec.scala) | 14 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisalgorithmSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisAlgorithmSpec.scala) | 12 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/nysiismetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisMetricSpec.scala) | 14 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinednysiisalgorithmSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedNysiisAlgorithmSpec.scala) | 12 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinednysiismetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedNysiisMetricSpec.scala) | 14 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedsoundexalgorithmSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedSoundexAlgorithmSpec.scala) | 12 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedsoundexmetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedSoundexMetricSpec.scala) | 14 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexalgorithmSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexAlgorithmSpec.scala) | 12 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexmetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexMetricSpec.scala) | 14 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/dicesorensenmetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/diceSorensenMetricSpec.scala) | 12 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/hammingmetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/hammingMetricSpec.scala) | 12 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jaccardmetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/overlapMetricSpec.scala) | 10 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jarometricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jaroMetricSpec.scala) | 12 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jarowinklermetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jaroWinklerMetricSpec.scala) | 12 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/levenshteinmetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/levenshteinMetricSpec.scala) | 12 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/ngrammetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/nGramMetricSpec.scala) | 14 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/overlapmetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jaccardMetricSpec.scala) | 10 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/ratcliffobershelpmetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/ratcliffObershelpMetricSpec.scala) | 10 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/weightedlevenshteinmetricSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/weightedLevenshteinMetricSpec.scala) | 20 | ||||
-rwxr-xr-x | cli/source/test/scala/com/rockymadden/stringmetric/cli/tokenization/ngramtokenizerSpec.scala (renamed from cli/source/test/scala/com/rockymadden/stringmetric/cli/tokenization/nGramTokenizerSpec.scala) | 12 |
42 files changed, 196 insertions, 196 deletions
diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/metaphoneAlgorithm.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/metaphonealgorithm.scala index ed2207e..d0b3812 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/metaphoneAlgorithm.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/metaphonealgorithm.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.phonetic.MetaphoneAlgorithm /** - * The metaphoneAlgorithm [[com.rockymadden.stringmetric.cli.Command]]. Returns the phonetic representation of the + * The metaphonealgorithm [[com.rockymadden.stringmetric.cli.Command]]. Returns the phonetic representation of the * passed string, per the Metaphone algorithm. */ -object metaphoneAlgorithm extends Command { +object metaphonealgorithm extends Command { override def main(args: Array[String]): Unit = { val opts: OptionMap = args @@ -29,7 +29,7 @@ object metaphoneAlgorithm extends Command { println( "Returns the phonetic representation of the passed string, per the Metaphone algorithm." + ls + ls + "Syntax:" + ls + - tab + "metaphoneAlgorithm [Options] string..." + ls + ls + + tab + "metaphonealgorithm [Options] string..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and opts." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/metaphoneMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/metaphonemetric.scala index 13e98ae..98ac85c 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/metaphoneMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/metaphonemetric.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.phonetic.MetaphoneMetric /** - * The metaphoneMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to determine if they are + * The metaphonemetric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to determine if they are * phonetically similarly, per the Metaphone algorithm. */ -object metaphoneMetric extends Command { +object metaphonemetric extends Command { override def main(args: Array[String]): Unit = { val opts: OptionMap = args @@ -29,7 +29,7 @@ object metaphoneMetric extends Command { println( "Compares two strings to determine if they are phonetically similarly, per the Metaphone algorithm." + ls + ls + "Syntax:" + ls + - tab + "metaphoneMetric [Options] string1 string2..." + ls + ls + + tab + "metaphonemetric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and opts." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisAlgorithm.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisalgorithm.scala index 107fdc5..0770ba5 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisAlgorithm.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisalgorithm.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.phonetic.NysiisAlgorithm /** - * The nysiisAlgorithm [[com.rockymadden.stringmetric.cli.Command]]. Returns the phonetic representation of the passed + * The nysiisalgorithm [[com.rockymadden.stringmetric.cli.Command]]. Returns the phonetic representation of the passed * string, per the NYSIIS algorithm. */ -object nysiisAlgorithm extends Command { +object nysiisalgorithm extends Command { override def main(args: Array[String]): Unit = { val options: OptionMap = args @@ -29,7 +29,7 @@ object nysiisAlgorithm extends Command { println( "Returns the phonetic representation of the passed string, per the NYSIIS algorithm." + ls + ls + "Syntax:" + ls + - tab + "nysiisAlgorithm [Options] string..." + ls + ls + + tab + "nysiisalgorithm [Options] string..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and options." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/nysiismetric.scala index 15bf46e..95ece48 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/nysiismetric.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.phonetic.NysiisMetric /** - * The nysiisMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to determine if they are + * The nysiismetric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to determine if they are * phonetically similarly, per the NYSIIS algorithm. */ -object nysiisMetric extends Command { +object nysiismetric extends Command { override def main(args: Array[String]): Unit = { val opts: OptionMap = args @@ -29,7 +29,7 @@ object nysiisMetric extends Command { println( "Compares two strings to determine if they are phonetically similarly, per the NYSIIS algorithm." + ls + ls + "Syntax:" + ls + - tab + "nysiisMetric [Options] string1 string2..." + ls + ls + + tab + "nysiismetric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and opts." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedNysiisAlgorithm.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinednysiisalgorithm.scala index be6db95..e155cbf 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedNysiisAlgorithm.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinednysiisalgorithm.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.phonetic.RefinedNysiisAlgorithm /** - * The refinedNysiisAlgorithm [[com.rockymadden.stringmetric.cli.Command]]. Returns the phonetic representation of the + * The refinednysiisalgorithm [[com.rockymadden.stringmetric.cli.Command]]. Returns the phonetic representation of the * passed string, per the refined NYSIIS algorithm. */ -object refinedNysiisAlgorithm extends Command { +object refinednysiisalgorithm extends Command { override def main(args: Array[String]): Unit = { val opts: OptionMap = args @@ -29,7 +29,7 @@ object refinedNysiisAlgorithm extends Command { println( "Returns the phonetic representation of the passed string, per the refined NYSIIS algorithm." + ls + ls + "Syntax:" + ls + - tab + "refinedNysiisAlgorithm [Options] string..." + ls + ls + + tab + "refinednysiisalgorithm [Options] string..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and opts." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedNysiisMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinednysiismetric.scala index 60d6a0b..3c32291 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedNysiisMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinednysiismetric.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.phonetic.RefinedNysiisMetric /** - * The refinedNysiisMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to determine if they are + * The refinednysiismetric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to determine if they are * phonetically similarly, per the refined NYSIIS algorithm. */ -object refinedNysiisMetric extends Command { +object refinednysiismetric extends Command { override def main(args: Array[String]): Unit = { val options: OptionMap = args @@ -29,7 +29,7 @@ object refinedNysiisMetric extends Command { println( "Compares two strings to determine if they are phonetically similarly, per the refined NYSIIS algorithm." + ls + ls + "Syntax:" + ls + - tab + "refinedNysiisMetric [Options] string1 string2..." + ls + ls + + tab + "refinednysiismetric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and options." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedSoundexAlgorithm.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedsoundexalgorithm.scala index 2f6813a..f5a89a8 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedSoundexAlgorithm.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedsoundexalgorithm.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.phonetic.RefinedSoundexAlgorithm /** - * The refinedSoundexAlgorithm [[com.rockymadden.stringmetric.cli.Command]]. Returns the phonetic representation of the + * The refinedsoundexalgorithm [[com.rockymadden.stringmetric.cli.Command]]. Returns the phonetic representation of the * passed string, per the refined Soundex algorithm. */ -object refinedSoundexAlgorithm extends Command { +object refinedsoundexalgorithm extends Command { override def main(args: Array[String]): Unit = { val opts: OptionMap = args @@ -29,7 +29,7 @@ object refinedSoundexAlgorithm extends Command { println( "Returns the phonetic representation of the passed string, per the refined Soundex algorithm." + ls + ls + "Syntax:" + ls + - tab + "refinedSoundexAlgorithm [Options] string..." + ls + ls + + tab + "refinedsoundexalgorithm [Options] string..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and opts." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedSoundexMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedsoundexmetric.scala index 72ebe80..e5ea4b4 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedSoundexMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/refinedsoundexmetric.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.phonetic.RefinedSoundexMetric /** - * The refinedSoundexMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to determine if they are + * The refinedsoundexmetric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to determine if they are * phonetically similarly, per the refined Soundex algorithm. */ -object refinedSoundexMetric extends Command { +object refinedsoundexmetric extends Command { override def main(args: Array[String]): Unit = { val options: OptionMap = args @@ -29,7 +29,7 @@ object refinedSoundexMetric extends Command { println( "Compares two strings to determine if they are phonetically similarly, per the refined Soundex algorithm." + ls + ls + "Syntax:" + ls + - tab + "refinedSoundexMetric [Options] string1 string2..." + ls + ls + + tab + "refinedsoundexmetric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and options." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/soundexAlgorithm.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/soundexalgorithm.scala index 93e0dad..9883eb3 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/soundexAlgorithm.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/soundexalgorithm.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.phonetic.SoundexAlgorithm /** - * The soundexAlgorithm [[com.rockymadden.stringmetric.cli.Command]]. Returns the phonetic representation of the passed + * The soundexalgorithm [[com.rockymadden.stringmetric.cli.Command]]. Returns the phonetic representation of the passed * string, per the Soundex algorithm. */ -object soundexAlgorithm extends Command { +object soundexalgorithm extends Command { override def main(args: Array[String]): Unit = { val opts: OptionMap = args @@ -29,7 +29,7 @@ object soundexAlgorithm extends Command { println( "Returns the phonetic representation of the passed string, per the Soundex algorithm." + ls + ls + "Syntax:" + ls + - tab + "soundexAlgorithm [Options] string..." + ls + ls + + tab + "soundexalgorithm [Options] string..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and opts." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/soundexMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/soundexmetric.scala index 5b727e1..01d070e 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/soundexMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/phonetic/soundexmetric.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.phonetic.SoundexMetric /** - * The soundexMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to determine if they are + * The soundexmetric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to determine if they are * phonetically similarly, per the Soundex algorithm. */ -object soundexMetric extends Command { +object soundexmetric extends Command { override def main(args: Array[String]): Unit = { val options: OptionMap = args @@ -29,7 +29,7 @@ object soundexMetric extends Command { println( "Compares two strings to determine if they are phonetically similarly, per the Soundex algorithm." + ls + ls + "Syntax:" + ls + - tab + "soundexMetric [Options] string1 string2..." + ls + ls + + tab + "soundexmetric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and options." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/diceSorensenMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/dicesorensenmetric.scala index a97e6f4..5d0e234 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/diceSorensenMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/dicesorensenmetric.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.similarity.DiceSorensenMetric /** - * The diceSorensenMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the similarity of two strings using the + * The dicesorensenmetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the similarity of two strings using the * Dice / Sorensen coefficient. */ -object diceSorensenMetric extends Command { +object dicesorensenmetric extends Command { override def main(args: Array[String]): Unit = { val opts: OptionMap = args @@ -31,7 +31,7 @@ object diceSorensenMetric extends Command { println( "Compares the similarity of two strings using the Dice / Sorensen coefficient." + ls + ls + "Syntax:" + ls + - tab + "diceSorensenMetric [Options] string1 string2..." + ls + ls + + tab + "dicesorensenmetric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and opts." + diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/hammingMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/hammingmetric.scala index 740ed15..c03293f 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/hammingMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/hammingmetric.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.similarity.HammingMetric /** - * The hammingMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the number of characters that two equal + * The hammingmetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the number of characters that two equal * length strings are different from one another. */ -object hammingMetric extends Command { +object hammingmetric extends Command { override def main(args: Array[String]): Unit = { val options: OptionMap = args @@ -29,7 +29,7 @@ object hammingMetric extends Command { println( "Compares the number of characters that two equal length strings are different from one another." + ls + ls + "Syntax:" + ls + - tab + "hammingMetric [Options] string1 string2..." + ls + ls + + tab + "hammingmetric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and options." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jaccardMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jaccardmetric.scala index be68f89..1f1e123 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jaccardMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jaccardmetric.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.similarity.JaccardMetric /** - * The jaccardMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the similarity of two strings using the + * The jaccardmetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the similarity of two strings using the * Jaccard coefficient. */ -object jaccardMetric extends Command { +object jaccardmetric extends Command { override def main(args: Array[String]): Unit = { val opts: OptionMap = args @@ -31,7 +31,7 @@ object jaccardMetric extends Command { println( "Compares the similarity of two strings using the Jaccard coefficient." + ls + ls + "Syntax:" + ls + - tab + "jaccardMetric [Options] string1 string2..." + ls + ls + + tab + "jaccardmetric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and opts." + diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jaroMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jarometric.scala index 8bfc256..fcb6aa2 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jaroMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jarometric.scala @@ -3,8 +3,8 @@ package com.rockymadden.stringmetric.cli.similarity import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.similarity.JaroMetric -/** The jaroMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to calculate the Jaro distance. */ -object jaroMetric extends Command { +/** The jarometric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to calculate the Jaro distance. */ +object jarometric extends Command { override def main(args: Array[String]): Unit = { val options: OptionMap = args @@ -26,7 +26,7 @@ object jaroMetric extends Command { println( "Compares two strings to calculate the Jaro distance." + ls + ls + "Syntax:" + ls + - tab + "jaroMetric [Options] string1 string2..." + ls + ls + + tab + "jarometric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and options." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jaroWinklerMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jarowinklermetric.scala index 0e5c121..b925c2d 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jaroWinklerMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/jarowinklermetric.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.similarity.JaroWinklerMetric /** - * The jaroWinklerMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to calculate the + * The jarowinklermetric [[com.rockymadden.stringmetric.cli.Command]]. Compares two strings to calculate the * Jaro-Winkler distance. */ -object jaroWinklerMetric extends Command { +object jarowinklermetric extends Command { override def main(args: Array[String]): Unit = { val opts: OptionMap = args @@ -29,7 +29,7 @@ object jaroWinklerMetric extends Command { println( "Compares two strings to calculate the Jaro-Winkler distance." + ls + ls + "Syntax:" + ls + - tab + "jaroWinklerMetric [Options] string1 string2..." + ls + ls + + tab + "jarowinklermetric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and opts." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/levenshteinMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/levenshteinmetric.scala index 0af32d7..6146750 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/levenshteinMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/levenshteinmetric.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.similarity.LevenshteinMetric /** - * The levenshteinMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the number of characters that two + * The levenshteinmetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the number of characters that two * strings are different from one another via insertion, deletion, and substitution. */ -object levenshteinMetric extends Command { +object levenshteinmetric extends Command { override def main(args: Array[String]): Unit = { val options: OptionMap = args @@ -30,7 +30,7 @@ object levenshteinMetric extends Command { "Compares the number of characters that two strings are different from one another via insertion, deletion, " + "and substitution." + ls + ls + "Syntax:" + ls + - tab + "levenshteinMetric [Options] string1 string2..." + ls + ls + + tab + "levenshteinmetric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and options." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/nGramMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/ngrammetric.scala index 692cce3..af0634f 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/nGramMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/ngrammetric.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.similarity.NGramMetric /** - * The nGramMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the similarity of two strings using an N-Gram + * The ngrammetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the similarity of two strings using an N-Gram * similarity index. */ -object nGramMetric extends Command { +object ngrammetric extends Command { override def main(args: Array[String]): Unit = { val options: OptionMap = args @@ -31,7 +31,7 @@ object nGramMetric extends Command { println( "Compares the similarity of two strings using an N-Gram similarity index." + ls + ls + "Syntax:" + ls + - tab + "nGramMetric [Options] string1 string2..." + ls + ls + + tab + "ngrammetric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and options." + diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/overlapMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/overlapmetric.scala index f1fe984..2c670c5 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/overlapMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/overlapmetric.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.similarity.OverlapMetric /** - * The overlapMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the similarity of two strings using the + * The overlapmetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the similarity of two strings using the * overlap coefficient. */ -object overlapMetric extends Command { +object overlapmetric extends Command { override def main(args: Array[String]): Unit = { val opts: OptionMap = args @@ -31,7 +31,7 @@ object overlapMetric extends Command { println( "Compares the similarity of two strings using the overlap coefficient." + ls + ls + "Syntax:" + ls + - tab + "overlapMetric [Options] string1 string2..." + ls + ls + + tab + "overlapmetric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and opts." + diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/ratcliffObershelpMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/ratcliffobershelpmetric.scala index 69eb4ca..f69c222 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/ratcliffObershelpMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/ratcliffobershelpmetric.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.similarity.RatcliffObershelpMetric /** - * The ratcliffObershelpMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the similarity of two strings + * The ratcliffobershelpmetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the similarity of two strings * using the Ratcliff / Obershelp similarity index. */ -object ratcliffObershelpMetric extends Command { +object ratcliffobershelpmetric extends Command { override def main(args: Array[String]): Unit = { val opts: OptionMap = args @@ -29,7 +29,7 @@ object ratcliffObershelpMetric extends Command { println( "Compares the similarity of two strings using the Ratcliff / Obershelp similarity index." + ls + ls + "Syntax:" + ls + - tab + "ratcliffObershelpMetric [Options] string1 string2..." + ls + ls + + tab + "ratcliffobershelpmetric [Options] string1 string2..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and opts." diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/weightedLevenshteinMetric.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/weightedlevenshteinmetric.scala index e4284ff..d675db1 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/weightedLevenshteinMetric.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/similarity/weightedlevenshteinmetric.scala @@ -5,11 +5,11 @@ import com.rockymadden.stringmetric.similarity.WeightedLevenshteinMetric import scala.math.BigDecimal /** - * The weightedLevenshteinMetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the number of characters that + * The weightedlevenshteinmetric [[com.rockymadden.stringmetric.cli.Command]]. Compares the number of characters that * two strings are different from one another via insertion, deletion, and substitution. Allows the invoker to indicate * the weight each operation takes. */ -object weightedLevenshteinMetric extends Command { +object weightedlevenshteinmetric extends Command { override def main(args: Array[String]): Unit = { val opts: OptionMap = args @@ -36,7 +36,7 @@ object weightedLevenshteinMetric extends Command { "Compares the number of characters that two strings are different from one another via insertion, deletion, " + "and substitution. Allows the invoker to indicate the weight each operation takes." + ls + ls + "Syntax:" + ls + - tab + "weightedLevenshteinMetric [Options] --deleteWeight=[double] --insertWeight=[double] --substituteWeight=[double] string1 string2..." + ls + ls + + tab + "weightedlevenshteinmetric [Options] --deleteWeight=[double] --insertWeight=[double] --substituteWeight=[double] string1 string2..." + ls + ls + "Options:" + ls + tab + "--deleteWeight" + ls + tab + tab + "The weight given to delete operations." + diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/tokenization/nGramTokenizer.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/tokenization/ngramtokenizer.scala index 566ddb6..99fdbe5 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/tokenization/nGramTokenizer.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/tokenization/ngramtokenizer.scala @@ -4,10 +4,10 @@ import com.rockymadden.stringmetric.cli._ import com.rockymadden.stringmetric.tokenization.NGramTokenizer /** - * The nGramTokenizer [[com.rockymadden.stringmetric.cli.Command]]. Returns the N-Gram representation of the passed + * The ngramtokenizer [[com.rockymadden.stringmetric.cli.Command]]. Returns the N-Gram representation of the passed * string. */ -object nGramTokenizer extends Command { +object ngramtokenizer extends Command { override def main(args: Array[String]): Unit = { val opts: OptionMap = args @@ -31,7 +31,7 @@ object nGramTokenizer extends Command { println( "Returns the N-Gram representation of the passed string." + ls + ls + "Syntax:" + ls + - tab + "nGramTokenizer [Options] string..." + ls + ls + + tab + "ngramtokenizer [Options] string..." + ls + ls + "Options:" + ls + tab + "-h, --help" + ls + tab + tab + "Outputs description, syntax, and opts." + diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/metaphoneAlgorithmSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/metaphonealgorithmSpec.scala index 7fb4f29..68bdcf7 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/metaphoneAlgorithmSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/metaphonealgorithmSpec.scala @@ -5,22 +5,22 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class metaphoneAlgorithmSpec extends ScalaTest { - "metaphoneAlgorithm" should provide { +final class metaphonealgorithmSpec extends ScalaTest { + "metaphonealgorithm" should provide { "main method" when passed { "valid dashless argument" should executes { "print phonetic representation" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - metaphoneAlgorithm.main(Array("--unitTest", "--debug", "abc")) + metaphonealgorithm.main(Array("--unitTest", "--debug", "abc")) ) out.toString should equal ("abk\n") out.reset() Console.withOut(out)( - metaphoneAlgorithm.main(Array("--unitTest", "--debug", "1")) + metaphonealgorithm.main(Array("--unitTest", "--debug", "1")) ) out.toString should equal ("not computable\n") @@ -30,10 +30,10 @@ final class metaphoneAlgorithmSpec extends ScalaTest { "no dashless argument" should throws { "IllegalArgumentException" in { evaluating { - metaphoneAlgorithm.main(Array("--unitTest", "--debug")) + metaphonealgorithm.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/metaphoneMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/metaphonemetricSpec.scala index e7d56d1..4e6567e 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/metaphoneMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/metaphonemetricSpec.scala @@ -5,29 +5,29 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class metaphoneMetricSpec extends ScalaTest { - "metaphoneMetric" should provide { +final class metaphonemetricSpec extends ScalaTest { + "metaphonemetric" should provide { "main method" when passed { "valid dashless arguments" should executes { "print if they are a match" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - metaphoneMetric.main(Array("--unitTest", "--debug", "abc", "abc")) + metaphonemetric.main(Array("--unitTest", "--debug", "abc", "abc")) ) out.toString should equal ("true\n") out.reset() Console.withOut(out)( - metaphoneMetric.main(Array("--unitTest", "--debug", "abc", "xyz")) + metaphonemetric.main(Array("--unitTest", "--debug", "abc", "xyz")) ) out.toString should equal ("false\n") out.reset() Console.withOut(out)( - metaphoneMetric.main(Array("--unitTest", "--debug", "1", "1")) + metaphonemetric.main(Array("--unitTest", "--debug", "1", "1")) ) out.toString should equal ("not comparable\n") @@ -37,10 +37,10 @@ final class metaphoneMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - metaphoneMetric.main(Array("--unitTest", "--debug")) + metaphonemetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisAlgorithmSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisalgorithmSpec.scala index 1062404..3683d2d 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisAlgorithmSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisalgorithmSpec.scala @@ -5,22 +5,22 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class nysiisAlgorithmSpec extends ScalaTest { - "nysiisAlgorithm" should provide { +final class nysiisalgorithmSpec extends ScalaTest { + "nysiisalgorithm" should provide { "main method" when passed { "valid dashless argument" should executes { "print phonetic representation" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - nysiisAlgorithm.main(Array("--unitTest", "--debug", "abc")) + nysiisalgorithm.main(Array("--unitTest", "--debug", "abc")) ) out.toString should equal ("abc\n") out.reset() Console.withOut(out)( - nysiisAlgorithm.main(Array("--unitTest", "--debug", "1")) + nysiisalgorithm.main(Array("--unitTest", "--debug", "1")) ) out.toString should equal ("not computable\n") @@ -30,10 +30,10 @@ final class nysiisAlgorithmSpec extends ScalaTest { "no dashless argument" should throws { "IllegalArgumentException" in { evaluating { - nysiisAlgorithm.main(Array("--unitTest", "--debug")) + nysiisalgorithm.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/nysiismetricSpec.scala index bcc2a6a..6898025 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/nysiisMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/nysiismetricSpec.scala @@ -5,29 +5,29 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class nysiisMetricSpec extends ScalaTest { - "nysiisMetric" should provide { +final class nysiismetricSpec extends ScalaTest { + "nysiismetric" should provide { "main method" when passed { "valid dashless arguments" should executes { "print if they are a match" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - nysiisMetric.main(Array("--unitTest", "--debug", "abc", "abc")) + nysiismetric.main(Array("--unitTest", "--debug", "abc", "abc")) ) out.toString should equal ("true\n") out.reset() Console.withOut(out)( - nysiisMetric.main(Array("--unitTest", "--debug", "abc", "xyz")) + nysiismetric.main(Array("--unitTest", "--debug", "abc", "xyz")) ) out.toString should equal ("false\n") out.reset() Console.withOut(out)( - nysiisMetric.main(Array("--unitTest", "--debug", "1", "1")) + nysiismetric.main(Array("--unitTest", "--debug", "1", "1")) ) out.toString should equal ("not comparable\n") @@ -37,10 +37,10 @@ final class nysiisMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - nysiisMetric.main(Array("--unitTest", "--debug")) + nysiismetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedNysiisAlgorithmSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinednysiisalgorithmSpec.scala index 428b5b3..f5376fa 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedNysiisAlgorithmSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinednysiisalgorithmSpec.scala @@ -5,22 +5,22 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class refinedNysiisAlgorithmSpec extends ScalaTest { - "refinedNysiisAlgorithm" should provide { +final class refinednysiisalgorithmSpec extends ScalaTest { + "refinednysiisalgorithm" should provide { "main method" when passed { "valid dashless argument" should executes { "print phonetic representation" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - refinedNysiisAlgorithm.main(Array("--unitTest", "--debug", "abc")) + refinednysiisalgorithm.main(Array("--unitTest", "--debug", "abc")) ) out.toString should equal ("abc\n") out.reset() Console.withOut(out)( - refinedNysiisAlgorithm.main(Array("--unitTest", "--debug", "1")) + refinednysiisalgorithm.main(Array("--unitTest", "--debug", "1")) ) out.toString should equal ("not computable\n") @@ -30,10 +30,10 @@ final class refinedNysiisAlgorithmSpec extends ScalaTest { "no dashless argument" should throws { "IllegalArgumentException" in { evaluating { - refinedNysiisAlgorithm.main(Array("--unitTest", "--debug")) + refinednysiisalgorithm.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedNysiisMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinednysiismetricSpec.scala index e48b967..4b4889d 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedNysiisMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinednysiismetricSpec.scala @@ -5,29 +5,29 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class refinedNysiisMetricSpec extends ScalaTest { - "refinedNysiisMetric" should provide { +final class refinednysiismetricSpec extends ScalaTest { + "refinednysiismetric" should provide { "main method" when passed { "valid dashless arguments" should executes { "print if they are a match" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - refinedNysiisMetric.main(Array("--unitTest", "--debug", "abc", "abc")) + refinednysiismetric.main(Array("--unitTest", "--debug", "abc", "abc")) ) out.toString should equal ("true\n") out.reset() Console.withOut(out)( - refinedNysiisMetric.main(Array("--unitTest", "--debug", "abc", "xyz")) + refinednysiismetric.main(Array("--unitTest", "--debug", "abc", "xyz")) ) out.toString should equal ("false\n") out.reset() Console.withOut(out)( - refinedNysiisMetric.main(Array("--unitTest", "--debug", "1", "1")) + refinednysiismetric.main(Array("--unitTest", "--debug", "1", "1")) ) out.toString should equal ("not comparable\n") @@ -37,10 +37,10 @@ final class refinedNysiisMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - refinedNysiisMetric.main(Array("--unitTest", "--debug")) + refinednysiismetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedSoundexAlgorithmSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedsoundexalgorithmSpec.scala index fc014d0..80a8fd2 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedSoundexAlgorithmSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedsoundexalgorithmSpec.scala @@ -5,22 +5,22 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class refinedSoundexAlgorithmSpec extends ScalaTest { - "refinedSoundexAlgorithm" should provide { +final class refinedsoundexalgorithmSpec extends ScalaTest { + "refinedsoundexalgorithm" should provide { "main method" when passed { "valid dashless argument" should executes { "print phonetic representation" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - refinedSoundexAlgorithm.main(Array("--unitTest", "--debug", "abc")) + refinedsoundexalgorithm.main(Array("--unitTest", "--debug", "abc")) ) out.toString should equal ("a013\n") out.reset() Console.withOut(out)( - refinedSoundexAlgorithm.main(Array("--unitTest", "--debug", "1")) + refinedsoundexalgorithm.main(Array("--unitTest", "--debug", "1")) ) out.toString should equal ("not computable\n") @@ -30,10 +30,10 @@ final class refinedSoundexAlgorithmSpec extends ScalaTest { "no dashless argument" should throws { "IllegalArgumentException" in { evaluating { - refinedSoundexAlgorithm.main(Array("--unitTest", "--debug")) + refinedsoundexalgorithm.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedSoundexMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedsoundexmetricSpec.scala index b3e8642..42338af 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedSoundexMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/refinedsoundexmetricSpec.scala @@ -5,29 +5,29 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class refinedSoundexMetricSpec extends ScalaTest { - "refinedSoundexMetric" should provide { +final class refinedsoundexmetricSpec extends ScalaTest { + "refinedsoundexmetric" should provide { "main method" when passed { "valid dashless arguments" should executes { "print if they are a match" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - refinedSoundexMetric.main(Array("--unitTest", "--debug", "abc", "abc")) + refinedsoundexmetric.main(Array("--unitTest", "--debug", "abc", "abc")) ) out.toString should equal ("true\n") out.reset() Console.withOut(out)( - refinedSoundexMetric.main(Array("--unitTest", "--debug", "abc", "xyz")) + refinedsoundexmetric.main(Array("--unitTest", "--debug", "abc", "xyz")) ) out.toString should equal ("false\n") out.reset() Console.withOut(out)( - refinedSoundexMetric.main(Array("--unitTest", "--debug", "1", "1")) + refinedsoundexmetric.main(Array("--unitTest", "--debug", "1", "1")) ) out.toString should equal ("not comparable\n") @@ -37,10 +37,10 @@ final class refinedSoundexMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - refinedSoundexMetric.main(Array("--unitTest", "--debug")) + refinedsoundexmetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexAlgorithmSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexalgorithmSpec.scala index 8c08f08..f971d66 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexAlgorithmSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexalgorithmSpec.scala @@ -5,22 +5,22 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class soundexAlgorithmSpec extends ScalaTest { - "soundexAlgorithm" should provide { +final class soundexalgorithmSpec extends ScalaTest { + "soundexalgorithm" should provide { "main method" when passed { "valid dashless argument" should executes { "print phonetic representation" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - soundexAlgorithm.main(Array("--unitTest", "--debug", "abc")) + soundexalgorithm.main(Array("--unitTest", "--debug", "abc")) ) out.toString should equal ("a120\n") out.reset() Console.withOut(out)( - soundexAlgorithm.main(Array("--unitTest", "--debug", "1")) + soundexalgorithm.main(Array("--unitTest", "--debug", "1")) ) out.toString should equal ("not computable\n") @@ -30,10 +30,10 @@ final class soundexAlgorithmSpec extends ScalaTest { "no dashless argument" should throws { "IllegalArgumentException" in { evaluating { - soundexAlgorithm.main(Array("--unitTest", "--debug")) + soundexalgorithm.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexmetricSpec.scala index 79434dc..82a3f6d 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexmetricSpec.scala @@ -5,29 +5,29 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class soundexMetricSpec extends ScalaTest { - "soundexMetric" should provide { +final class soundexmetricSpec extends ScalaTest { + "soundexmetric" should provide { "main method" when passed { "valid dashless arguments" should executes { "print if they are a match" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - soundexMetric.main(Array("--unitTest", "--debug", "abc", "abc")) + soundexmetric.main(Array("--unitTest", "--debug", "abc", "abc")) ) out.toString should equal ("true\n") out.reset() Console.withOut(out)( - soundexMetric.main(Array("--unitTest", "--debug", "abc", "xyz")) + soundexmetric.main(Array("--unitTest", "--debug", "abc", "xyz")) ) out.toString should equal ("false\n") out.reset() Console.withOut(out)( - soundexMetric.main(Array("--unitTest", "--debug", "1", "1")) + soundexmetric.main(Array("--unitTest", "--debug", "1", "1")) ) out.toString should equal ("not comparable\n") @@ -37,10 +37,10 @@ final class soundexMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - soundexMetric.main(Array("--unitTest", "--debug")) + soundexmetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/diceSorensenMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/dicesorensenmetricSpec.scala index 090f278..db68b68 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/diceSorensenMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/dicesorensenmetricSpec.scala @@ -5,22 +5,22 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class diceSorensenMetricSpec extends ScalaTest { - "diceSorensenMetric" should provide { +final class dicesorensenmetricSpec extends ScalaTest { + "dicesorensenmetric" should provide { "main method" when passed { "valid dashless arguments" should executes { "print if they are a match" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - diceSorensenMetric.main(Array("--unitTest", "--debug", "--n=2", "abc", "abc")) + dicesorensenmetric.main(Array("--unitTest", "--debug", "--n=2", "abc", "abc")) ) out.toString should equal ("1.0\n") out.reset() Console.withOut(out)( - diceSorensenMetric.main(Array("--unitTest", "--debug", "--n=2", "abc", "xyz")) + dicesorensenmetric.main(Array("--unitTest", "--debug", "--n=2", "abc", "xyz")) ) out.toString should equal ("0.0\n") @@ -30,10 +30,10 @@ final class diceSorensenMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - diceSorensenMetric.main(Array("--unitTest", "--debug")) + dicesorensenmetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/hammingMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/hammingmetricSpec.scala index 69ed881..28e91ad 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/hammingMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/hammingmetricSpec.scala @@ -5,22 +5,22 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class hammingMetricSpec extends ScalaTest { - "hammingMetric" should provide { +final class hammingmetricSpec extends ScalaTest { + "hammingmetric" should provide { "main method" when passed { "valid dashless arguments" should executes { "print if they are a match" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - hammingMetric.main(Array("--unitTest", "--debug", "abc", "abc")) + hammingmetric.main(Array("--unitTest", "--debug", "abc", "abc")) ) out.toString should equal ("0\n") out.reset() Console.withOut(out)( - hammingMetric.main(Array("--unitTest", "--debug", "abc", "xyz")) + hammingmetric.main(Array("--unitTest", "--debug", "abc", "xyz")) ) out.toString should equal ("3\n") @@ -30,10 +30,10 @@ final class hammingMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - hammingMetric.main(Array("--unitTest", "--debug")) + hammingmetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/overlapMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jaccardmetricSpec.scala index c1bb6b6..9f7e2b9 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/overlapMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jaccardmetricSpec.scala @@ -5,22 +5,22 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class overlapMetricSpec extends ScalaTest { - "overlapMetric" should provide { +final class jaccardmetricSpec extends ScalaTest { + "jaccardmetric" should provide { "main method" when passed { "valid dashless arguments" should executes { "print if they are a match" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - overlapMetric.main(Array("--unitTest", "--debug", "--n=2", "abc", "abc")) + jaccardmetric.main(Array("--unitTest", "--debug", "--n=2", "abc", "abc")) ) out.toString should equal ("1.0\n") out.reset() Console.withOut(out)( - overlapMetric.main(Array("--unitTest", "--debug", "--n=2", "abc", "xyz")) + jaccardmetric.main(Array("--unitTest", "--debug", "--n=2", "abc", "xyz")) ) out.toString should equal ("0.0\n") @@ -30,7 +30,7 @@ final class overlapMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - overlapMetric.main(Array("--unitTest", "--debug")) + jaccardmetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jaroMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jarometricSpec.scala index df5bd3f..980ecff 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jaroMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jarometricSpec.scala @@ -5,22 +5,22 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class jaroMetricSpec extends ScalaTest { - "jaroMetric" should provide { +final class jarometricSpec extends ScalaTest { + "jarometric" should provide { "main method" when passed { "valid dashless arguments" should executes { "print the distance" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - jaroMetric.main(Array("--unitTest", "--debug", "abc", "abc")) + jarometric.main(Array("--unitTest", "--debug", "abc", "abc")) ) out.toString should equal ("1.0\n") out.reset() Console.withOut(out)( - jaroMetric.main(Array("--unitTest", "--debug", "abc", "xyz")) + jarometric.main(Array("--unitTest", "--debug", "abc", "xyz")) ) out.toString should equal ("0.0\n") @@ -30,10 +30,10 @@ final class jaroMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - jaroMetric.main(Array("--unitTest", "--debug")) + jarometric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jaroWinklerMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jarowinklermetricSpec.scala index 3515e1b..d84f1a5 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jaroWinklerMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jarowinklermetricSpec.scala @@ -5,22 +5,22 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class jaroWinklerMetricSpec extends ScalaTest { - "jaroWinklerMetric" should provide { +final class jarowinklermetricSpec extends ScalaTest { + "jarowinklermetric" should provide { "main method" when passed { "valid dashless arguments" should executes { "print the distance" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - jaroWinklerMetric.main(Array("--unitTest", "--debug", "abc", "abc")) + jarowinklermetric.main(Array("--unitTest", "--debug", "abc", "abc")) ) out.toString should equal ("1.0\n") out.reset() Console.withOut(out)( - jaroWinklerMetric.main(Array("--unitTest", "--debug", "abc", "xyz")) + jarowinklermetric.main(Array("--unitTest", "--debug", "abc", "xyz")) ) out.toString should equal ("0.0\n") @@ -30,10 +30,10 @@ final class jaroWinklerMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - jaroWinklerMetric.main(Array("--unitTest", "--debug")) + jarowinklermetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/levenshteinMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/levenshteinmetricSpec.scala index c15e23b..ec4c8a7 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/levenshteinMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/levenshteinmetricSpec.scala @@ -5,22 +5,22 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class levenshteinMetricSpec extends ScalaTest { - "levenshteinMetric" should provide { +final class levenshteinmetricSpec extends ScalaTest { + "levenshteinmetric" should provide { "main method" when passed { "valid dashless arguments" should executes { "print if they are a match" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - levenshteinMetric.main(Array("--unitTest", "--debug", "abc", "abc")) + levenshteinmetric.main(Array("--unitTest", "--debug", "abc", "abc")) ) out.toString should equal ("0\n") out.reset() Console.withOut(out)( - levenshteinMetric.main(Array("--unitTest", "--debug", "abc", "xyz")) + levenshteinmetric.main(Array("--unitTest", "--debug", "abc", "xyz")) ) out.toString should equal ("3\n") @@ -30,10 +30,10 @@ final class levenshteinMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - levenshteinMetric.main(Array("--unitTest", "--debug")) + levenshteinmetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/nGramMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/ngrammetricSpec.scala index f6a498b..f969df3 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/nGramMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/ngrammetricSpec.scala @@ -5,15 +5,15 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class nGramMetricSpec extends ScalaTest { - "nGramMetric" should provide { +final class ngrammetricSpec extends ScalaTest { + "ngrammetric" should provide { "main method" when passed { "valid dashless arguments and valid n argument" should executes { "print if they are a match" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - nGramMetric.main( + ngrammetric.main( Array( "--unitTest", "--debug", @@ -28,7 +28,7 @@ final class nGramMetricSpec extends ScalaTest { out.reset() Console.withOut(out)( - nGramMetric.main( + ngrammetric.main( Array( "--unitTest", "--debug", @@ -46,7 +46,7 @@ final class nGramMetricSpec extends ScalaTest { "valid dashless arguments and invalid n argument" should throws { "IllegalArgumentException" in { evaluating { - nGramMetric.main( + ngrammetric.main( Array( "--unitTest", "abc", @@ -59,10 +59,10 @@ final class nGramMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - nGramMetric.main(Array("--unitTest", "--debug")) + ngrammetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jaccardMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/overlapmetricSpec.scala index 2ade182..d614a77 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/jaccardMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/overlapmetricSpec.scala @@ -5,22 +5,22 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class jaccardMetricSpec extends ScalaTest { - "jaccardMetric" should provide { +final class overlapmetricSpec extends ScalaTest { + "overlapmetric" should provide { "main method" when passed { "valid dashless arguments" should executes { "print if they are a match" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - jaccardMetric.main(Array("--unitTest", "--debug", "--n=2", "abc", "abc")) + overlapmetric.main(Array("--unitTest", "--debug", "--n=2", "abc", "abc")) ) out.toString should equal ("1.0\n") out.reset() Console.withOut(out)( - jaccardMetric.main(Array("--unitTest", "--debug", "--n=2", "abc", "xyz")) + overlapmetric.main(Array("--unitTest", "--debug", "--n=2", "abc", "xyz")) ) out.toString should equal ("0.0\n") @@ -30,7 +30,7 @@ final class jaccardMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - jaccardMetric.main(Array("--unitTest", "--debug")) + overlapmetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/ratcliffObershelpMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/ratcliffobershelpmetricSpec.scala index cf7a0bf..8af7793 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/ratcliffObershelpMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/ratcliffobershelpmetricSpec.scala @@ -5,22 +5,22 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class ratcliffObershelpMetricSpec extends ScalaTest { - "ratcliffObershelpMetric" should provide { +final class ratcliffobershelpmetricSpec extends ScalaTest { + "ratcliffobershelpmetric" should provide { "main method" when passed { "valid dashless arguments" should executes { "print if they are a match" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - ratcliffObershelpMetric.main(Array("--unitTest", "--debug", "abc", "abc")) + ratcliffobershelpmetric.main(Array("--unitTest", "--debug", "abc", "abc")) ) out.toString should equal ("1.0\n") out.reset() Console.withOut(out)( - ratcliffObershelpMetric.main(Array("--unitTest", "--debug", "abc", "xyz")) + ratcliffobershelpmetric.main(Array("--unitTest", "--debug", "abc", "xyz")) ) out.toString should equal ("0.0\n") @@ -30,7 +30,7 @@ final class ratcliffObershelpMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - ratcliffObershelpMetric.main(Array("--unitTest", "--debug")) + ratcliffobershelpmetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/weightedLevenshteinMetricSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/weightedlevenshteinmetricSpec.scala index bd2c936..41065db 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/weightedLevenshteinMetricSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/similarity/weightedlevenshteinmetricSpec.scala @@ -5,15 +5,15 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class weightedLevenshteinMetricSpec extends ScalaTest { - "weightedLevenshteinMetric" should provide { +final class weightedlevenshteinmetricSpec extends ScalaTest { + "weightedlevenshteinmetric" should provide { "main method" when passed { "valid dashless arguments and valid weight arguments" should executes { "print if they are a match" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - weightedLevenshteinMetric.main( + weightedlevenshteinmetric.main( Array( "--unitTest", "--debug", @@ -30,7 +30,7 @@ final class weightedLevenshteinMetricSpec extends ScalaTest { out.reset() Console.withOut(out)( - weightedLevenshteinMetric.main( + weightedlevenshteinmetric.main( Array( "--unitTest", "--debug", @@ -47,7 +47,7 @@ final class weightedLevenshteinMetricSpec extends ScalaTest { out.reset() Console.withOut(out)( - weightedLevenshteinMetric.main( + weightedlevenshteinmetric.main( Array( "--unitTest", "--debug", @@ -64,7 +64,7 @@ final class weightedLevenshteinMetricSpec extends ScalaTest { out.reset() Console.withOut(out)( - weightedLevenshteinMetric.main( + weightedlevenshteinmetric.main( Array( "--unitTest", "--debug", @@ -84,7 +84,7 @@ final class weightedLevenshteinMetricSpec extends ScalaTest { "valid dashless arguments and invalid weight arguments" should throws { "IllegalArgumentException" in { evaluating { - weightedLevenshteinMetric.main( + weightedlevenshteinmetric.main( Array( "--unitTest", "--debug", @@ -97,7 +97,7 @@ final class weightedLevenshteinMetricSpec extends ScalaTest { } should produce [IllegalArgumentException] evaluating { - weightedLevenshteinMetric.main( + weightedlevenshteinmetric.main( Array( "--unitTest", "--debug", @@ -114,10 +114,10 @@ final class weightedLevenshteinMetricSpec extends ScalaTest { "no dashless arguments" should throws { "IllegalArgumentException" in { evaluating { - weightedLevenshteinMetric.main(Array("--unitTest", "--debug")) + weightedlevenshteinmetric.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } } } -}
\ No newline at end of file +} diff --git a/cli/source/test/scala/com/rockymadden/stringmetric/cli/tokenization/nGramTokenizerSpec.scala b/cli/source/test/scala/com/rockymadden/stringmetric/cli/tokenization/ngramtokenizerSpec.scala index 144acb4..8a1ea1d 100755 --- a/cli/source/test/scala/com/rockymadden/stringmetric/cli/tokenization/nGramTokenizerSpec.scala +++ b/cli/source/test/scala/com/rockymadden/stringmetric/cli/tokenization/ngramtokenizerSpec.scala @@ -5,15 +5,15 @@ import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) -final class nGramTokenizerSpec extends ScalaTest { - "nGramTokenizer" should provide { +final class ngramtokenizerSpec extends ScalaTest { + "ngramtokenizer" should provide { "main method" when passed { "valid dashless argument and valid n argument" should executes { "print N-Gram representation" in { val out = new java.io.ByteArrayOutputStream() Console.withOut(out)( - nGramTokenizer.main( + ngramtokenizer.main( Array( "--unitTest", "--debug", @@ -27,7 +27,7 @@ final class nGramTokenizerSpec extends ScalaTest { out.reset() Console.withOut(out)( - nGramTokenizer.main( + ngramtokenizer.main( Array( "--unitTest", "--debug", @@ -44,7 +44,7 @@ final class nGramTokenizerSpec extends ScalaTest { "valid dashless argument and invalid n argument" should throws { "IllegalArgumentException" in { evaluating { - nGramTokenizer.main( + ngramtokenizer.main( Array( "--unitTest", "abc", @@ -57,7 +57,7 @@ final class nGramTokenizerSpec extends ScalaTest { "no dashless argument" should throws { "IllegalArgumentException" in { evaluating { - nGramTokenizer.main(Array("--unitTest", "--debug")) + ngramtokenizer.main(Array("--unitTest", "--debug")) } should produce [IllegalArgumentException] } } |