Move tag handling to ngram_single
Fix missing tag argument in ngram_single