regex- using CategorizedPlaintextCorpusReader to find nth instance of a word
<p>I have a corpus of newspapers as raw text files and I would like to be able to pull the editorials out of them. Most of the editorials start after the 3rd instance of the word "EDITORIAL" in all caps and end with the footer "sfbg".</p>

<p>My idea is to use python's regular expressions to extract these editorials. I'm using CategorizedPlaintextCorpusReader.</p>

<p>I've tried looking for a list of CategorizedPlaintextCorpusReader's methods myself, but I've come up empty.</p>