Invention Grant
- Patent Title: Language agnostic code classification
-
Application No.: US17192740Application Date: 2021-03-04
-
Publication No.: US11609759B2Publication Date: 2023-03-21
- Inventor: Mahinthan Chandramohan , Robert James Wall
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Ferguson Braswell Fraser Kubasta PC
- Main IPC: G06F8/73
- IPC: G06F8/73 ; G06N20/00

Abstract:
A system may include a computer processor and a repository configured to store a first code fragment including language features represented in a first programming language, and a second code fragment including language features represented in a second programming language. The system may further include a universal code fragment classifier, executing on the computer processor and configured to generate a first universal abstract syntax tree for the first code fragment and a second universal abstract syntax tree for the second code fragment, generate, using a graph embedding model, first vectors for the first universal abstract syntax tree and second vectors for the second universal abstract syntax tree, and classify, by executing an abstract syntax tree classifier on the first vectors and the second vectors, the first code fragment as a first code category and the second code fragment as a second code category.
Public/Granted literature
- US20220283803A1 LANGUAGE AGNOSTIC CODE CLASSIFICATION Public/Granted day:2022-09-08
Information query