vickumar1981 / stringdistance

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..

Home Page:https://vickumar1981.github.io/stringdistance/api/com/github/vickumar1981/stringdistance/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add tests around phonetic similarity

vickumar1981 opened this issue · comments

The tests for the phonetic similarities - soundex and metaphone are sparse. Need to add more tests/examples to make sure those are working as expected.

https://github.com/vickumar1981/stringdistance/blob/master/src/test/scala/fixtures/TestSoundCases.scala#L8

Can also enable/use (currently, disabled for phonetic similarities only) the coverage report to see what part of the algorithms is untested.

Addressed by #53