public class StringDistanceFunctions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StringDistanceFunctions.CosineDistanceFunction
This function calculates the cosine distance between two strings.
|
static class |
StringDistanceFunctions.FuzzyScoreFunction
This function calculates the cosine distance between two strings.
|
static class |
StringDistanceFunctions.HammingDistanceFunction
The hamming distance between two strings of equal length is the number of
positions at which the corresponding symbols are different.
|
static class |
StringDistanceFunctions.JaccardDistanceFunction
Measures the Jaccard distance of two sets of character sequence.
|
static class |
StringDistanceFunctions.JaroDistanceFunction
A similarity algorithm indicating the percentage of matched characters between two character sequences.
|
static class |
StringDistanceFunctions.LevenstheinDistanceFunction
An algorithm for measuring the difference between two character sequences.
|
static class |
StringDistanceFunctions.LongestCommonSubstringDistanceFunction
The Longest common subsequence algorithm returns the length of the longest subsequence that two strings have in common.
|
Copyright © 2018 The Apache Software Foundation. All rights reserved.