Introduce histogram similarity measure as interrim ranking measure betwen ngram and string distance.