An evaluation framework for plagiarism detection