Added NGrams assignment