Code generation method and system based on natural semantic understanding
Патент · CN B
CN-115202640-B
приоритет 2022-07-26
подача 2022-07-26
публикация 2026-09-08
выдача 2026-09-08
семья 83583506
patents-ai
Полный текст
The invention provides a code generation method and a system based on natural semantic understanding, comprising the steps of S1, obtaining a natural language sequence, preprocessing the obtained natural language sequence to obtain a preprocessed natural language sequence, S2, constructing a code generation model, training the constructed code generation model to obtain a trained code generation model, S3, generating a target code according to the input natural language sequence by the trained code generation model, and realizing automatic generation from the natural language sequence to the target code by the code generation model based on a neural network structure of an encoder-decoder.