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)
Δημοφιλείς αναρτήσεις
-
Objectives Greece is one of the leading tobacco-producing countries in European Union, and every year over 19 000 Greeks die from tobacco-at...
-
Objectives Drug interactions, poor adherence to medication and high-risk sexual behaviour may occur in individuals with HIV using recreation...
-
Introduction Multimorbidity (MM) refers to the coexistence of two or more chronic conditions within one person, where no one condition is co...
-
Objective To describe the prevalence and severity of diabetic retinopathy (DR) and sight-threatening DR (STDR) among Chinese adults with dia...
-
Related Articles Three job stress models and their relationship with musculoskeletal pain in blue- and white-collar workers. J Psycho...
-
Abstract Background Mature T-cell and natural killer (NK)-cell lymphomas compose a heterogeneous group of non-Hodgkin lymphomas, and ext...
-
<span class="paragraphSection"><div class="boxTitle">Abstract</div>Masked hypertension (MHT), defined ...
-
Background Hepatitis B virus (HBV) transmission is known to occur through direct contact with infected blood. There has been some suspicion ...
-
In Rwanda, the prevalence of viral hepatitis (HCV) is poorly understood. The current study investigated the prevalence and risk factors of H...
Δεν υπάρχουν σχόλια:
Δημοσίευση σχολίου