code: @Override
  	public double normalize(int distance, String str, String rst) {
  		return 1.0 - ((double) distance / Math.max(str.length(), rst.length()));
  	}
docs: Normalizes the specified <code>distance</code> by
  <code>max(|str|, |rst|)</code>. For historical reasons this method
  actually returns 1 - normalized distance, making a similarity.
  
  @param distance
  The edit distance between <code>str</code> and
  <code>rst</code>.
  @param str
  A string
  @param rst
  Another string
  @return A [1, 0] value determined by
  <code>1 - distance/max(|str|, |rst|)</code>.