N-Gram ranking completed