Hycode Plagiarism Detector is a Python-based web application that helps users identify similarities between code snippets. It employs both word-based and token-based comparison techniques to provide comprehensive results.
- Word-based Similarity: Utilizes difflib to compare the words and calculate similarity ratios between code snippets.
- Token-based Comparison: Generates and compares tokens to identify shared tokens and their count.
- Web Interface: Provides a user-friendly web interface for easy file upload and plagiarism check.
- Interactive Report: Presents a detailed report highlighting similarity scores, shared tokens, and plagiarism status.
To use the Hycode Plagiarism Detector, follow these steps:
- Clone the repository to your local machine.
- Ensure you have Python installed.
- Install the required dependencies using
pip install -r requirements.txt
. - Run the Flask application by executing
python app.py
. - Access the application through your web browser at
http://localhost:5000
.
- Upload the code files you want to compare.
- Click on the "Check Similarity" button to initiate the comparison process.
- View the detailed report showcasing similarity scores, shared tokens, and plagiarism status.
- Explore the interactive interface to navigate through the results easily.
Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests to help improve Hycode Plagiarism Detector.