Library untuk memeriksa tingkat plagiarisme.
Project description
Plagiat (Py)
Library untuk memeriksa tingkat Plagiarisme menggunakan Bahasa Python.
Referensi:
- Ranti Eka Putri, Andysah Putera Utama Siahaan
https://www.researchgate.net/publication/319272358_Examination_of_Document_Similarity_Using_Rabin-Karp_Algorithm - Andysah Putera Utama Siahaan, Mesran, Robbi Rahim, Dodi Siregar
https://www.ijstr.org/final-print/july2017/K-gram-As-A-Determinant-Of-Plagiarism-Level-In-Rabin-karp-Algorithm.pdf
Instalasi
pip install plagiat
Menggunakan File .txt
from plagiat.deteksi import Deteksi
cek = Deteksi("./plagiat/dokumen/kalimat-1.txt", "./plagiat/dokumen/kalimat-2.txt")
print('Persentase plagiarisme = {0}%'.format(cek.hitung()))
Menggunakan Text
from plagiat.deteksi import Deteksi
cek = Deteksi("Aku sedang belajar kecerdasan buatan",
"Mahasiswa yang cerdas selalu siap menerima tantangan",
text=True)
print('Persentase plagiarisme = {0}%'.format(cek.hitung()))
Menggunakan URL
from plagiat.deteksi import Deteksi
teks_1 = 'https://raw.githubusercontent.com/novay/amikom/main/datasets/text/kalimat-1.txt'
teks_2 = 'https://raw.githubusercontent.com/novay/amikom/main/datasets/text/kalimat-1.txt'
cek = Deteksi(teks_1, teks_2, url=True)
print('Persentase plagiarisme = {0}%'.format(cek.hitung()))
Penggunaan Parameter
from plagiat.deteksi import Deteksi
Deteksi(teks_1, teks_2, text=True, url=True, bahasa='english')
Penjelasan
text=True
digunakan untuk mendeteksi string
default Falseurl=True
digunakan untuk mendeteksi dokumen melalui URL
default Falsebahasa='english'
digunakan untuk menentukan bahasa yang digunakan dalam proses stopwords
default 'indonesian'
Disclaimer
Library ini di buat hanya untuk keperluan pembuatan tugas Data Science.
Salam hormat,
Novianto Rahmadi (22.55.2293)
Credit
- Paper Ranti Eka Putri, Andysah Putera Utama Siahaan, Mesran, Robbi Rahim & Dodi Siregar
- NLTK - corpus, tokenize, stem
- Numpy
- TheDhejavu - Rabin Karp Module
https://gist.github.com/TheDhejavu/39d6cfec2b3f75a1ac111042cb8aebdb#file-rabin_karp-py
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
plagiat-0.1.2.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file plagiat-0.1.2.tar.gz
.
File metadata
- Download URL: plagiat-0.1.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 482365b1a3bb891c6c2b7ce3e3bec986723c551abd6a5566628ed6c1e8a611c8 |
|
MD5 | 5479583bd5b5244d1acdb5e0c7b6dcfc |
|
BLAKE2b-256 | aadd06373d14d1e281c1630a02e207cc230797cfda621dee6a1ed2ab0dabb14d |
Provenance
File details
Details for the file plagiat-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: plagiat-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17353b4b7ffe2b0913b9619239ca938f62d93c9e0df438cfe5ae0a40850bdaac |
|
MD5 | 9092e583cbcd3ee19eaaaa34786640c6 |
|
BLAKE2b-256 | 64a40952b754cdd9488918ceefcffab312e000bf07dd9d6265d91be64fe1f63d |