parts of deep patterns extractor