A fuzzy matching string distance library for Scala and Java that includes Levenshtein distance, Jaro distance, Jaro-Winkler distance, Dice coefficient, N-Gram similarity, Cosine similarity, Jaccard similarity, Longest common subsequence, Hamming distance, and more..
Current test coverage is ~86.2% for the SoundEx algorithm.
This can be increased by addressing a few edge cases:
Test when length is 0: https://github.com/vickumar1981/stringdistance/blob/master/src/main/scala/com/github/vickumar1981/stringdistance/interfaces/sound/SoundexAlgo.scala#L8
Test lines 32, 36, & 37 in implementation:
The missing lines are shown in the scoverage report.
https://coveralls.io/builds/34087846/source?filename=src/main/scala/com/github/vickumar1981/stringdistance/interfaces/sound/SoundexAlgo.scala