Constructor and Description |
---|
I_Sub() |
Modifier and Type | Method and Description |
---|---|
String |
normalizeString(String str,
char remo) |
double |
score(String s1,
String s2,
boolean normaliseStrings) |
public I_Sub()
public double score(String s1, String s2, boolean normaliseStrings)
s1
- input string 1s2
- input string 2normaliseStrings
- a boolean value that specifies whether the two strings are to be normalised by
a custom normalisation algorithm that basically removes punctuation symbols and converts both input strings
to lower-case. Note that without normalisation the method is case sensitive.public String normalizeString(String str, char remo)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann