Make the sentence comparison between 0 and 1

According the algorithm description in LaDiff, the factor f used as
threshold when comparing leaves is between 0 and 1. Deviding the
distance between two strings by the length of the greatest make it be
between 0 and 1 as well.