added comments to PatternExtractor.
forgot a final >.>