I am interested in the Jaro-Winkler module written in Perl to compute the distance (or similarity) between two strings:
http://search.cpan.org/~scw/Text-JaroWinkler-0.1/JaroWinkler.pm
The syntax of the function is not clear to me; I could not find any clear documentation of it.
Here is the sample code:
#!/usr/bin/perl
use 5.10.0;
use Text::JaroWinkler qw( strcmp95 );
print strcmp95("it is a dog","i am a dog.",11);
What exactly does the 11 represent? I gather it is a length. Which length? The length of the amount of characters I want checked? Is it required to be there?