implemented corpus, tag glob style filtering