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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


