Multi-language code plagiarism detection method based on pseudo twin network
A twin network and detection method technology, applied in biological neural network models, neural learning methods, software maintenance/management, etc., can solve the problems of redundant code effects, failure to consider code structure features, etc., to improve detection efficiency and widely used The effect of space and accuracy improvement
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0039] The present invention will be further described below in conjunction with specific examples.
[0040] Such as figure 1 As shown, the pseudo-twin network-based multilingual code plagiarism detection method provided in this embodiment pre-trains the pre-trained data to obtain accurate label vectors, and performs redundancy on the training set of the multilingual code plagiarism detection training data set processing, converting it into an abstract syntax tree and preliminarily judging whether the code is plagiarized, and then further judging whether the data set is plagiarized, by traversing the abstract syntax tree of the code in depth to form a tag sequence representing the code, and using each sequence of the tag sequence Replace the pre-trained tag vector to form an embedding matrix, and then use the pseudo-twin network to further detect and judge whether the code is plagiarized, which includes the following steps:
[0041]1) Obtain basic data, using open source data...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com