Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Language processing method and device, medium and electronic equipment

A language processing and syntax tree technology, applied in the computer field, can solve problems such as affecting program execution efficiency, wasting manpower and repetitive work, omitting code or modifying errors, etc., to improve flexibility and versatility, reduce error rates, improve The effect of efficiency

Active Publication Date: 2020-07-03
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF13 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method often misses codes or modifies errors due to inertia of thinking, and it is easy to damage the simplicity of the code, resulting in code redundancy and affecting the execution efficiency of the program.
And waste manpower to complete this repetitive work

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
  • Language processing method and device, medium and electronic equipment
  • Language processing method and device, medium and electronic equipment
  • Language processing method and device, medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

[0027] It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and / or executed in parallel. Additionally, method embodiments may include additional steps and / or omit performing illustrated steps. The scope of the present disclosure is not limited in this regard. ...

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 provides a language processing method and device, a medium and electronic equipment. The method comprises the steps of obtaining multiple pieces of setting node information associated with a template syntax tree; traversing nodes in the template syntax tree by adopting each set node information to obtain matched node information; utilizing each piece of matching node information to respectively obtain a corresponding matching node code identifier, and storing the matching node code identifier into the corresponding matching node information; and after all nodes in the template syntax tree obtain the corresponding matching node code identifiers, restoring the matching node code corresponding to the matching node code identifier of each node by utilizing the template syntax tree to generate a template program code. According to the method, the relationship of the template codes is constrained by utilizing the characteristics of the template syntax tree. And meanwhile, the node information is set, so that the matching flexibility and universality are improved. And the template program code generation efficiency is improved. Template codes do not need to be written, and the error rate is reduced.

Description

technical field [0001] The present disclosure relates to the field of computer technology, in particular, to a language processing method, device, medium and electronic equipment. Background technique [0002] Writing program code, referred to as programming, is the process of using a programming language to write program code in order to achieve a certain purpose or solve a certain problem with the help of a computer, and finally get the result. [0003] A program, which is a collection of instructions, tells a computer how to perform a particular task. After programming, special software interprets or translates the program into a computer language that the computer can recognize, and the computer performs corresponding actions according to the computer language. [0004] When programming, codes with the same or similar structure often appear in the same program or different programs. Usually, in order to save time, programmers will manually copy such codes to the corres...

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/41
CPCG06F8/42G06F8/447G06F8/44
Inventor 宋易现
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products