If you pass a string with a length less than 3 to ApplyFuzzySearch it throws an exception inside Build3GramString
The code below results in a negative value passed to Range:
Enumerable.Range(0, ns.Length - 2)
This should probably fail gracefully and return an empty list.
If you pass a string with a length less than 3 to ApplyFuzzySearch it throws an exception inside Build3GramString
The code below results in a negative value passed to Range:
Enumerable.Range(0, ns.Length - 2)This should probably fail gracefully and return an empty list.