Similarity Score Calculation - AryanKukreja/PlagiarismDetector GitHub Wiki

The similarity score is calculated as follows:

  1. The jaccardImplementation() method returns the number of plagiarized words in a sentence.
  2. The checkWholeFile adds 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.