Replaced C ngram script back to awk script.