Avoiding Plagiarism with Paraphrasing