n and n-1 gram