Fix the default substitution cost for Levenshtein distance #85

Merged
merged 1 commit into from May 1, 2013

Projects

None yet

2 participants

@hhamalai

Fix the default substitution cost for Levenshtein distance which should be 1 1

E.g. "kitten" -> "sitting" the correct Levenshtein distance should be 3. Before this fix natural package returns 5.

@chrisumbel
NaturalNode member

Sweet, I'll have a look in the next few days. Sorry for the delay.

@chrisumbel chrisumbel merged commit f8e38e4 into NaturalNode:master May 1, 2013
@chrisumbel
NaturalNode member

merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment