Using the degeneration property of the KMP, common patterns were identified and plagiarism was detected