Skip to main content

A Simple Plagiarism Checker

Project description

Plagy

A Simple Plagiarism detector. It supports .txt, .c, ,cpp, ,py, ,java or any other utf-8 encoded text files.

It Provides 3 Scenarios to check the Plagiarism.

  1. One2One : Check the plagiarism score between two files. The files must be of same type.

  2. One2Many : Checks the Plagiarism score betweem one query file and a list of source files. One typical use case would be a newly published journals vs a list of already published journals, to check if the new journal is plagiarized from other sources or not.

  3. Many2Many : Checks the similiarity between every pair of files in a collection of files.

Installation

Install this package from pip directly

pip install plagy-mnk

or

pip3 install plagy-mnk

or clone this repo in your local environment and

python setup.py

Uses

from plagy.plagy import *
obj = One2One(path_to_file1, path_to_file2)
obj.preprocess_files()
obj.run()
obj.display()
obj = One2Many(path_to_source_folder, path_to_query_file)
obj.preprocess()
obj.run()
obj.display()
obj = Many2Many(path_to_collection_folder)
obj.preprocess()
obj.run(threshold = 0.7)
obj.display()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plagy-mnk-0.1.1.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

plagy_mnk-0.1.1-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page