METHODS, SYSTEMS, ARTICLES OF MANUFACTURE, AND APPARATUS TO GENERATE CODE SEMANTICS
Methods, apparatus, systems and articles of manufacture are disclosed for generating code semantics. An example apparatus includes a concept controller to assign semantic labels to repository data to generate a training set, the semantic labels stored in a first semantic graph, the training set incl...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Methods, apparatus, systems and articles of manufacture are disclosed for generating code semantics. An example apparatus includes a concept controller to assign semantic labels to repository data to generate a training set, the semantic labels stored in a first semantic graph, the training set including a first code block associated with a first semantic label and a second code block associated with a second semantic label, a concept determiner to generate a first block embedding based on the first code block and a second block embedding based on the second code block, a graph generator to link the first block embedding to the second block embedding to form a second semantic graph, and a graph parser to output at least one of the first code block or the second code block corresponding to a query based on the second semantic graph. |
---|