Refactor plagiarism_check for e816
Project e816 changes
Refactor text_preprocessing for e816