Unlock instant, AI-driven research and patent intelligence for your innovation.

A syntactic dependency tree dynamic visualization method and system

A syntax tree and dynamic technology, applied in the field of data processing, can solve problems such as inability to modify, unfavorable transmission of data, and large server problems, and achieve the effects of improving response speed, flexible structure, and strong resistance

Active Publication Date: 2019-03-01
GLOBAL ENERGY INTERCONNECTION RES INST CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1) It is not conducive to data transmission. Usually, in the architecture where the front and back ends are separated, the data transmission can be done through a simple API. A simple implementation is in the json format, but only data in the form of strings can be transmitted; 2) Due to the Waiting for completion on the back end (server side) may bring greater pressure to the server; 3) When the front end needs to make further changes to the results, since the picture is immutable, the front end cannot be further modified or implemented according to specific requirements some kind of animation

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
  • A syntactic dependency tree dynamic visualization method and system
  • A syntactic dependency tree dynamic visualization method and system
  • A syntactic dependency tree dynamic visualization method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] An embodiment of the present invention provides a dynamic visualization method for a syntactic dependency tree, such as figure 1 As shown, the syntactic dependency tree dynamic visualization method includes the following steps:

[0029] Step S1: Obtain the text to be dynamically visualized in the syntactic dependency tree.

[0030] In the embodiment of the present invention, the text to be dynamically visualized of the syntax dependency tree can be obtained from the backend (server side).

[0031] Step S2: Convert the text into an HTML-standard SVG object.

[0032] In a preferred embodiment, as figure 2 As shown, the process of converting the text into an HTML-standard SVG object in step S2 specifically includes the following steps:

[0033] Step S21: Convert the text into a syntax tree structured text format according to the syntax dependency tree.

[0034] In the embodiment of the present invention, the text is converted into such as image 3 The syntax tree sho...

Embodiment 2

[0069] An embodiment of the present invention provides a dynamic visualization system of a syntax dependency tree, such as Figure 8 As shown, the system includes:

[0070] The text acquisition module 1 is used to acquire the text to be dynamically visualized in the syntactic dependency tree. This module executes the method described in step S1 in the above method embodiment, which will not be repeated here.

[0071] The SVG object conversion module 2 is used to convert text into HTML-standard SVG objects. This module executes the methods described in step S2, step S21-step S23, and step S231-step S234 in the above-mentioned method embodiment, which will not be repeated here.

[0072] The display module 3 is configured to perform dynamic visual display according to the attribute information of the SVG object. This module executes the method described in step S4 in the above method embodiment, which will not be repeated here.

[0073] The syntactic dependency tree dynamic v...

Embodiment 3

[0075] An embodiment of the present invention provides a computer device, such as Figure 9 As shown, it includes: at least one processor 401 , such as a CPU (Central Processing Unit, central processing unit), at least one communication interface 403 , memory 404 , and at least one communication bus 402 . Wherein, the communication bus 402 is used to realize connection and communication between these components. Wherein, the communication interface 403 may include a display screen (Display) and a keyboard (Keyboard), and the optional communication interface 403 may also include a standard wired interface and a wireless interface. The memory 404 may be a high-speed RAM memory (Ramdom Access Memory, volatile random access memory), or a non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory 404 may also be at least one storage device located away from the aforementioned processor 401 . where processor 401 can execute figure 1 In the...

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 syntactic dependency tree dynamic visualization method and system provided by the invention, obtaining the text to be dynamically visualized by the syntactic dependency treefrom the back end, Converts text to an HTML-standard SVG object, according to the attribute information of SVG object, so that that structure is more flexible, so that that text analysis can be further realize. At that same time, the conversion process of the syntactic dependency tree visualization is transformed from the back-end generation picture to the front-end JS generation in the prior art,so that the computer capacity of the server is reduced and the storage space of the server is reduce, the resources of the client side are fully and effectively utilized, the response speed of the server is improved, and the server has stronger resistance to network fluctuation.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a dynamic visualization method and system for a syntax dependency tree. Background technique [0002] Currently there are image visualization tools for some dependency trees, which can convert a sentence into a syntactic tree and save it as a picture. In the prior art, a visual representation of a static syntactic tree is used, which can well display the hierarchical relationship between words and Compared with the representation of structured text, it is easier for people to understand its syntactic structure. In the prior art, the visual representation using a static syntax tree such as a picture has the following three disadvantages: [0003] 1) It is not conducive to data transmission. Usually, in the architecture where the front and back ends are separated, the data transmission can be done through a simple API. A simple implementation is in the json format, but only data in ...

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
IPC IPC(8): G06F16/31G06F16/332
Inventor 宋博川张强高源伯孔维政赵留军
Owner GLOBAL ENERGY INTERCONNECTION RES INST CO LTD