Method for converting between program languages based on ai

A programming language and program technology, applied in the field of deep learning, can solve the problems of large human and financial resources, construction period, target language at both ends are not easy to expand, cost, etc., to improve efficiency, reduce trivial and repetitive development, high accuracy rate effect

Pending Publication Date: 2022-03-29
上海赛可出行科技服务有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Many enterprises use manpower to carry out cross-language transformation of information systems, which consumes a lot of manpower and financial resources as well as construction time. Some enterprises also use converters to upgrade, but the converters require people to write, and it limits the language targeting at both ends. It is strong and not easy to expand, and needs to be rewritten when changing languages

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for converting between program languages based on ai
  • Method for converting between program languages based on ai
  • Method for converting between program languages based on ai

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] In the high-speed development stage of programming language processing, the differences between languages ​​gradually become larger. But language is always the carrier of information, no matter how it develops, the information conveyed by different languages ​​is consistent. How to effectively switch between languages ​​has gradually begun to attract people's thinking. The present invention mainly comprises the following steps: 1. data crawler, according to several specific language learning websites, learn language basic content, data component, budget component, control component, transmission component etc. to obtain basic training data, 2. after crawling data, data Preprocessing and training to obtain two basic program production models (from, to); 3. According to the program rules and nlp training program long text segmentation model; 4. Using the program text segmentation model to segment the original code text5 . After segmenting, use the from model for logic ex...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for converting program languages based on ai, which mainly comprises the following steps: 1, a data crawler learns basic contents of languages according to several specific language learning websites to obtain basic training data, 2, after the data is crawled, the data is preprocessed and trained to obtain two basic program production models; 3, training a program long text segmentation model according to a program rule and nlp; 4, performing segmentation processing on the original code text by using the program text segmentation model; 5, performing logic extraction by using a from model after segmentation to obtain a program logic standard file; and 5, performing code file conversion according to the code logic standard file and the program production of the to model. According to the method, the problem of rule conversion among different languages is solved, other languages can be expanded, and trivial and repeated development is reduced; a large amount of manpower is saved to develop the converter, and conversion between languages can be carried out according to configuration, so that the purposes of high efficiency, high expansion and high accuracy are achieved.

Description

technical field [0001] The invention relates to the field of deep learning and machine learning, in particular to a method for converting between programming languages ​​based on AI. Background technique [0002] In the stage of rapid development from assembly-low-level-high-level programming language processing, more and more languages ​​are used in various enterprises, but some enterprise information systems are developed using relatively old languages, while enterprise informatization With the development of business, some enterprises continue to expand in scale and have the need to upgrade or restructure cross-language information systems, but most of them use a lot of manpower to carry out system transformation. Also some have also been retrofitted using converters / translators. [0003] Many enterprises use manpower to carry out cross-language transformation of information systems, which consumes a lot of manpower and financial resources as well as construction time. S...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30G06F8/51
CPCG06F8/315G06F8/51
Inventor 李想
Owner 上海赛可出行科技服务有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products