When I give jaro the strings 'ihdienstdatuni' and 'indienstdatum' the returned score = 0.0, although there are only 3 differences.
When I append a space after 'indienstdatum' and leave the other string the same, the resulting score is 0.74. When I append a space to both strings, the score goes up to 0.78.
This is caused by a glitch in the source code of Jaro class. At function commonChars, the line:
...is wrong. It should be: