Patent ID: 11928156
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method comprising:
obtaining, at a computing device, a segment of computer code;
with a classification module of a machine learning system executing on said computing device, determining a stage from a predefined set of stages of a data science workflow to which said segment of computer code corresponds and determining a required annotation category from a predefined set of categories for said segment of computer code based on said stage of said data science workflow;
with an annotation generation module of said machine learning system executing on said computing device, generating a natural language annotation of said segment of computer code based on said segment of computer code and said required annotation category;
generating an Abstract Syntax Tree (AST) structure of at least said segment of computer code, wherein said natural language annotation of said segment of computer code is further based on said Abstract Syntax Tree (AST) structure, wherein said annotation generation module includes a graph neural network; and
providing said natural language annotation to a user interface for display adjacent said segment of computer code.