Skip to main content

Library untuk memeriksa tingkat plagiarisme.

Project description

Plagiat (Py)

Library untuk memeriksa tingkat Plagiarisme menggunakan Bahasa Python.

Referensi:

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 False
  • url=True digunakan untuk mendeteksi dokumen melalui URL
    default False
  • bahasa='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

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)

Uploaded Source

Built Distribution

plagiat-0.1.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for plagiat-0.1.2.tar.gz
Algorithm Hash digest
SHA256 482365b1a3bb891c6c2b7ce3e3bec986723c551abd6a5566628ed6c1e8a611c8
MD5 5479583bd5b5244d1acdb5e0c7b6dcfc
BLAKE2b-256 aadd06373d14d1e281c1630a02e207cc230797cfda621dee6a1ed2ab0dabb14d

See more details on using hashes here.

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

Hashes for plagiat-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 17353b4b7ffe2b0913b9619239ca938f62d93c9e0df438cfe5ae0a40850bdaac
MD5 9092e583cbcd3ee19eaaaa34786640c6
BLAKE2b-256 64a40952b754cdd9488918ceefcffab312e000bf07dd9d6265d91be64fe1f63d

See more details on using hashes here.

Provenance

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