In this paper, we introduce a source code plagiarism detection method, named WASTK (Weighted Abstract Syntax Tree Kernel), for computer science education. Different from other plagiarism detection methods, WASTK takes some aspects other than the similarity between programs into account. WASTK firstly transfers the source code of a program to an abstract syntax tree and then gets the similarity by calculating the tree kernel of two abstract syntax trees. To avoid misjudgment caused by trivial code snippets or frameworks given by instructors, an idea similar to TF-IDF (Term Frequency-Inverse Document Frequency) in the field of information retrieval is applied. Each node in an abstract syntax tree is assigned a weight by TF-IDF. WASTK is evaluated on different datasets and, as a result, performs much better than other popular methods like Sim and JPlag.
from #AlexandrosSfakianakis via Alexandros G.Sfakianakis on Inoreader http://ift.tt/2lEQSQH
via IFTTT
Εγγραφή σε:
Σχόλια ανάρτησης (Atom)
Δημοφιλείς αναρτήσεις
-
Background. Reconstruction of surgical defects following cranial base surgery is challenging. Others have demonstrated that leukocyte-platel...
-
During lytic infection, herpes simplex virus (HSV) DNA is replicated by a mechanism involving DNA recombination. For instance, replication o...
-
Dracaena cochinchinensis Lour. is an ethnomedicinally important plant used in traditional Chinese medicine known as dragon’s blood. Excessiv...
-
Taking a slurry reservoir-pipeline-valve system as research object, axial dynamic vibrations of pipe system were induced by coupled hydrauli...
-
Women in Love by . Lawrence. Searchable etext. Discuss with other readers. from #AlexandrosSfakianakis via Alexandros G.Sfakianakis on Ino...
-
Publication date: February 2017 Source: Cryobiology, Volume 74 Author(s): Reza Masoudi, Ahmad Zare Shahneh, Armin Towhidi, Hamid Kohram, A...
-
Outcomes of multimodal management for sinonasal squamous cell carcinoma. J Craniomaxillofac Surg. 2017 May 12;: Authors: Paré A, Blan...
-
Abstract Purpose Low back pain is a significant problem for school-aged athletes. Although some risk factors relating to sports activiti...
Δεν υπάρχουν σχόλια:
Δημοσίευση σχολίου