-
1.
公开(公告)号:US11003444B2
公开(公告)日:2021-05-11
申请号:US16457906
申请日:2019-06-28
Applicant: Intel Corporation
Inventor: Shengtian Zhou , Mohammad Mejbah ul Alam , Justin Gottschlich
Abstract: An apparatus includes a software parser to generate a plurality of abstract syntax trees based on a plurality of software files, the ASTs including subtrees corresponding to a plurality of functions of the software files, a subtree encoder to generate a plurality of code vectors representative of one or more semantic properties of the subtrees, a function identifier to determine a plurality of clusters for the subtrees and assign a cluster identifier and a function label to the subtrees, a tree database to store the subtrees and map the plurality of subtrees to respective ones of cluster identifiers and function names, and a processor to: train a model based on a feature vector and the plurality of clusters stored in the tree database and predict the cluster identifier for the subtrees, based on the trained model, to identify a name of the function.
-
公开(公告)号:US20190318366A1
公开(公告)日:2019-10-17
申请号:US16453649
申请日:2019-06-26
Applicant: Intel Corporation
Inventor: Marcos Carranza , Brian Cremeans , Krishna Surya , Mats Agerstam , Shengtian Zhou , Maria Ramirez Loaiza , Cesar Martinez-Spessot , Mohammad Mejbah ul Alam , Dario Oliver , Justin Gottschlich
Abstract: An apparatus includes a feature extractor to extract features from input data, the features including descriptive information corresponding to a function of the input data, an inference generator to classify the features into a group indicative of a semantic property, a programming pattern, or a compliance type of the function of the input data, assign a cluster identifier to the features based on a prediction that the features are classified into the group, and retrieve solutions from a database that correspond to the cluster identifier, and a suggestion determiner to generate a suggestion list by building a pool of suggestions to present to a user.
-
公开(公告)号:US20190324731A1
公开(公告)日:2019-10-24
申请号:US16457906
申请日:2019-06-28
Applicant: Intel Corporation
Inventor: Shengtian Zhou , Mohammad Mejbah ul Alam , Justin Gottschlich
Abstract: An apparatus includes a software parser to generate a plurality of abstract syntax trees based on a plurality of software files, the ASTs including subtrees corresponding to a plurality of functions of the software files, a subtree encoder to generate a plurality of code vectors representative of one or more semantic properties of the subtrees, a function identifier to determine a plurality of clusters for the subtrees and assign a cluster identifier and a function label to the subtrees, a tree database to store the subtrees and map the plurality of subtrees to respective ones of cluster identifiers and function names, and a processor to: train a model based on a feature vector and the plurality of clusters stored in the tree database and predict the cluster identifier for the subtrees, based on the trained model, to identify a name of the function.
-
-