https://github.com/cielhaidir/plagiarism-detector

https://github.com/cielhaidir/plagiarism-detector

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: cielhaidir
  • Language: Python
  • Default Branch: main
  • Size: 5.54 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created 12 months ago · Last pushed 11 months ago
Metadata Files
Readme

README.md

Plagiarism Detection API

Indonesian language plagiarism detection system with separate indexing for each text column.

Setup

  1. Install dependencies: bash pip install -r requirements.txt

  2. Create indices (run once): bash python indexer.py

  3. Start the API server: bash python app.py

The server will run on http://localhost:5000

API Endpoints

Health Check

GET /health

Get System Info

GET /info

Single Search

``` POST /search Content-Type: application/json

{ "querytext": "text to check for plagiarism", "column": "judul", "skema": "PKM", // optional - filter by schema "topk": 10 // optional - number of results } ```

Bulk Search

``` POST /search_bulk Content-Type: application/json

{ "texts": [ { "text": "text to check", "column": "ringkasan", "skema": "PKM" // optional }, { "text": "another text", "column": "metode" } ], "top_k": 5 // optional } ```

Available Columns

  • judul - Title
  • ringkasan - Summary
  • pendahuluan - Introduction
  • masalah - Problem statement
  • metode - Method
  • solusi - Solution

Response Format

Search results include: - id: Proposal ID - skema: Schema type - similarity_score: Similarity score (0-1) - column: Column that was searched

Files Structure

  • indexer.py - Creates TF-IDF indices for each column
  • app.py - Flask API server
  • indices/ - Directory containing all index files
  • test_api.py - API testing script

Owner

  • Login: cielhaidir
  • Kind: user

GitHub Events

Total
  • Push event: 2
  • Create event: 2
Last Year
  • Push event: 2
  • Create event: 2

Dependencies

Dockerfile docker
  • python 3.9-slim build
docker-compose.yml docker
  • nginx alpine
  • qdrant/qdrant latest
requirements.txt pypi
  • Flask *
  • Sastrawi *
  • gensim *
  • joblib *
  • nltk *
  • numpy >=2.0.0
  • pandas *
  • python-Levenshtein *
  • qdrant-client *
  • scikit-learn *
  • sentence-transformers *
  • tqdm *