[PD] pattern extraction/recognition