for (int i = 0, len = t.length(); i < len; i++) {
ld.appendToTarget(t.charAt(i));
actualValue = ld.updateDist();
System.out.println("add char: " + t.charAt(i) + " dist = " + actualValue + "(" + ld.distance()
+ "), relativeDistance = " + ld.partialDistance());
}
actualValue = ld.distance();
return actualValue;
}