Patent ID: 11954462
Assignee: INTEL CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A non-transitory machine-readable medium having instructions stored thereon configured to be executed on one or more processors on a computing system to generate source code from a Natural Language (NL) input, wherein execution of the instructions causes the computing system to:
process the NL input to generate a Probabilistic Distribution (PD) of Source code (SC) tokens in an SC token sequence;
process the NL input to generate a PD of Abstract Syntax Tree (AST) tokens in an AST token sequence;
identify one or more SC tokens to be fixed; and
apply one or more fixing rules to the one or more SC tokens that are identified, wherein the fixing rule for a given SC token is selected based on at least one of the PD of the SC token and the PD of an AST token associated with the SC token.