A Comparative Analysis between Human-in-the-loop Systems and Large Language Models for Pattern Extraction Tasks