An open API service indexing awesome lists of open source software.

https://github.com/rishang/plagiarism-checker

A python snippet script based on selenium to check plagiarism using google search
https://github.com/rishang/plagiarism-checker

plagiarism-detection python selenium

Last synced: 9 months ago
JSON representation

A python snippet script based on selenium to check plagiarism using google search

Awesome Lists containing this project

README

          

# A python snippet script based on selenium to check plagiarism

Checkout my article on explaining about this script.
[medium.com/swlh/this-way-i-checked-hundreds-of-plagiarized-answers-in-seconds](https://medium.com/swlh/this-way-i-checked-hundreds-of-plagiarized-answers-in-seconds-50ef0354fdfa?source=friends_link&sk=6dc250097d03100e5ea9a10983e24f6d)

**checkout `demo.py` for seeing use case of the script**

It contains Two functions
1. googleSearch() to perform google search
2. compareStr() to compare two strings

**Example:**

`googleSearch("hello")`

It works by searching on google the string we gave in argument and collect following items of each result.

* domain
* url
* title
* description

This items of each search result are returned if form of dictionary.

`compareStr("hello world","hello you")`

output: `70.0`

This function returns percentage of match between 2 strings given in arguments.