diff options
author | Rocky Madden <git@rockymadden.com> | 2013-03-15 11:39:33 -0600 |
---|---|---|
committer | Rocky Madden <git@rockymadden.com> | 2013-03-15 11:39:33 -0600 |
commit | 67e3526853e89569390723030751202ff8f51c72 (patch) | |
tree | 1342880683977cef26aea9d73739b57927494b95 /readme.md | |
parent | 1ba756850a7d06dac4d6a35dd64268fafcf63f54 (diff) | |
download | stringmetric-67e3526853e89569390723030751202ff8f51c72.tar.gz stringmetric-67e3526853e89569390723030751202ff8f51c72.tar.bz2 stringmetric-67e3526853e89569390723030751202ff8f51c72.zip |
More straight forward naming.
Diffstat (limited to 'readme.md')
-rwxr-xr-x | readme.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -378,14 +378,14 @@ JaroWinklerMetric().compare("string1", "string2") Basic example with single filter: ```scala -(new JaroWinklerMetric with AsciiLetterCaseStringFilter).compare("string1", "string2") +(new JaroWinklerMetric with IgnoreAsciiLetterCaseStringFilter).compare("string1", "string2") ``` --- -Basic example with stacked filter. Filters are applied in reverse order: +Basic example with stacked filters. Filters are applied in reverse order: ```scala -(new JaroWinklerMetric with AsciiLetterCaseStringFilter with AsciiLetterOnlyStringFilter).compare("string1", "string2") +(new JaroWinklerMetric with IgnoreAsciiLetterCaseStringFilter with AsciiLetterOnlyStringFilter).compare("string1", "string2") ``` ## Convenience objects @@ -416,8 +416,8 @@ val jaro: StringMetric.Jaro = StringMetric.Jaro() __StringFilter:__ ```scala // Easy access to types and instances. -val metaphone: StringAlgorithm.Metaphone = StringAlgorithm.Metaphone() with StringFilter.asciiControl -val asciiSpace: StringFilter.AsciiSpace = StringFilter.asciiControl +val metaphone: StringAlgorithm.Metaphone = StringAlgorithm.Metaphone() with StringFilter.ignoreAsciiSpace +val ignoreAsciiSpace: StringFilter.IgnoreAsciiSpace = StringFilter.ignoreAsciiSpace ``` --- |