Adding ngram ranking command