N-grams similarity

Under construction.