Similarity Score Calculation - AryanKukreja/PlagiarismDetector GitHub Wiki
The similarity score is calculated as follows:
- The
jaccardImplementation()method returns the number of plagiarized words in a sentence. - The
checkWholeFileadds all the number of words up for all the sentences in the plagiarized text. It then divides the value by the total number of words in that copied sentence.