Change ShingleFilter to output unigram

If unigram is not output, the last term will not be processed by the
ngramFilter.