Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

srsimsima81-cloud/Plagiarism-Detector-Using-String-Matching-Algorithms

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ Plagiarism Detector Using String Matching Algorithms

A Python + Streamlit based plagiarism detection system using Naive Matching, KMP, and Rabin-Karp algorithms to compare documents and detect similarity.


🚀 Project Overview

This project detects plagiarism between two text documents by comparing content using classic string matching algorithms. It calculates similarity percentage and generates a detailed report with a modern UI dashboard.


📂 Project Structure

Plagiarism-Detector-Using-String-Matching/

documents/

  • original.txt
  • submitted.txt

outputs/

  • sample outputs

reports/

  • generated plagiarism reports

images/

  • UI screenshots and results

docs/

  • architecture
  • algorithm explanation
  • future enhancements

src/

  • preprocess.py
  • naive_match.py
  • kmp.py
  • rabin_karp.py
  • similarity.py
  • report.py

main.py app.py requirements.txt .gitignore README.md

⚙️ Features

  • Text preprocessing
  • Naive string matching
  • KMP algorithm
  • Rabin-Karp algorithm
  • Similarity percentage calculation
  • Streamlit neon UI dashboard
  • Plagiarism report generation

🧠 DSA Concepts Used

  • Strings
  • Pattern Matching
  • Hashing
  • Sliding Window
  • LPS Array (KMP)
  • Set Operations

▶️ Run Project

CLI version: python main.py

UI version: streamlit run app.py


📊 Output

  • Similarity Score (%)
  • Matched Words
  • Detailed Report

🌟 Future Enhancements

  • PDF/DOCX support
  • Sentence-level detection
  • Highlight copied text
  • AI-based semantic similarity
  • Multi-document comparison

About

A Python + Streamlit based Plagiarism Detection System using Naive String Matching, KMP, and Rabin-Karp algorithms. It compares text documents, calculates similarity percentage, and generates detailed plagiarism reports with a modern neon UI dashboard.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.