Corpus tag extractor