Giter Club home page Giter Club logo

honestychecker's Introduction

HonestyChecker

HonestyChecker is a code plagiarism detection tool written in modern C++.

In general, this project reproduces the SIM code plagiarism detection algorithm proposed by Professor Dick Grune from Vrije Universiteit.

What's more, this project has the following extra features:

  • Developed using C++ object-oriented programming style, making it easy to extend or modify the project in the future.
  • Added support for plagiarism detection in Python code.
  • Supports development and building on both Windows platforms (Visual Studio 2022) and Linux platforms (make & g++).
  • Supports outputting dynamic link libraries that can be called by the CPython interpreter on both platforms. Python developers can easily invoke the high-performance algorithm interfaces provided by HonestyChecker in their own applications. You can see the example here.

Build

Windows

I select Microsoft Visual Studio as the build tool in Windows platform.

If you just want to build a .exe file to test HonestyChecker, it's very easy for anyone who has learned C/C++ development in Windows platform.

I just want to remind you not forget to modify int main() function to meet your own needs

If you want to build a .pyd file to let your Python program to call the API provided by HonestyChecker, things won't be that easy to handle anymore.

You have to install CPython on your computer, and maybe you have to modify some options in Visual Studio.

Here are some documents for your reference:

Linux

I have offered the Makefile script in this project. Since most Linux systems (like Ubuntu) has built-in make, g++ and CPython, things are easy to handle.

Here are some building command tips:

  • make normal: You will get an executable file HonestyChecker in the dist directory. Just like in Windows, don't forget to modify the int main() function by yourself!
  • make python: You will get an shared library libHonestyChecker.so in the dist directory.
  • make clean: Remove all the temporary files (obj directory) and compiler results (dist directory).

honestychecker's People

Contributors

wu-sunflower avatar

Stargazers

 avatar Eason Wang avatar  avatar

Watchers

 avatar

honestychecker's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.