NaturalNode/natural — pull request #45 by adamb0mb (2012-07-01 19:15:23+00:00)
Title: Fixing Jaro-Winkler Distance to be "1" for exact string matches

This is for Issue #44.

The problem looks like it was in the logic for determining the match window. First off, the calculation was just wrong (whoops). Secondly, the logic for matches was messed up when the match window was 0.

I also updated the spec for the test to reflect test cases that weren't working. ("abc" should exact match "abc")