Developing a web based similarity or plagiarism checker between submitted documents [HELP] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Developing a web based similarity or plagiarism checker between submitted documents [HELP]

Good day everyone, I'm working on a web based similarity or plagiarism checker between severally submitted word documents locally in the database and am confused on what algorithm to use. The major technologies am using for this project is node js and mongodb. I will really appreciate any input on how to get this working. Note that am comparing within the submitted word documents locally stored in the database and not the general internet. Thank you. CC: Sololearn family

4th Mar 2020, 7:45 PM
Julius E. Ossai
Julius E. Ossai - avatar
2 Answers
0
Hi. I don't know what is common approach by which people solve this. I would do the next. 1. Split the text into sentences by the dot symbol. 2. Compare each sentence in document with all sentences from another ones. I would use this for comparsion https://en.m.wikipedia.org/wiki/Levenshtein_distance 3. Summarize somehow comparsion results. I would use mean of "levenshtein distance/sentence length" ratio. This ratio represents the difference between sentences. The less ratio the higher similarity. The documents with minimal mean ratio are the most similar. The weak point of this algorithm is word order changes. But it will detect not modified copypasta.
6th Mar 2020, 7:57 PM
Stephan
Stephan - avatar
0
Thanks for the response...will be looking forward for other suggestions...thank you once again
7th Mar 2020, 8:07 PM
Julius E. Ossai
Julius E. Ossai - avatar