ngram extraction complete