A text-similarity computation software (web version) for the codes and documents of assignment.
A text-similarity computation software (web version) for the codes and documents of assignment.
This system is a web version based on antiplag.
Browser, such as chrome
platform: mac, linux. (not tested windows platform)
download the source zip file and unzip.
backstage: configure your database infomation with file pom.xml & application.porperties.
frontend: configure your host in file main.js.
package backstage by maven, build frontend by vue-cli3. then deploy and enjoy it.
The main techniques used by the system are string similarity comparison algorithms, code lexical grammar parsing, and word segmentation in natural language processing (nlp).
The similarity comparison of program text is based on 3 open systems:
The system has been developed and packaged on the basis of them. For the moss system, a client access module has been developed to implement code file submission, result acquisition and analysis, and result sequencing. For sim and jplag, the It is integrated into the system and can be used as a replacement product when moss is not available due to network failure or other reasons.
Comparison of Chinese and English document assignment similarity provides two algorithms:
The first is based on shinglecloud algorithm (a language fingerprint-based, language-independent similarity Fast calculation method), the main process of the document is as follows:
The second is based on jplag's GST algorithm, which has been expanded in functionality. The added "doc" language type can perform similarity calculations on various documents and provide a web-based visual comparison function.