Lightweight text labeling method and system based on javascript, equipment and storage medium
A lightweight, text-based technology, applied in the fields of javascript-based lightweight text annotation, systems, equipment and storage media, it can solve problems such as subjective factors, and achieve strong scalability, simple use, and improved user experience. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] refer to Figure 1 to Figure 8 As shown, this example discloses a specific implementation of a javascript-based lightweight text tagging method (hereinafter referred to as the "method").
[0065] Specifically, refer to figure 1 and figure 2 As shown, the method disclosed in this embodiment includes the following steps:
[0066] Step S1, parsing the SQL statement.
[0067] Then step S2 is executed to obtain an array of table names according to the parsing result of the SQL statement.
[0068] Specifically, in some of these embodiments, the parsed result of the SQL statement is obtained from the server, and the returned data type is usually an array, and each item of the array is a table name, in the form of image 3 shown. It should be noted that the present invention does not limit the form of the table name array.
[0069] Then step S3 is executed to add a span tag to each table name in the table name array.
[0070] Specifically, in some of these examples, ref...
Embodiment 2
[0087] In combination with a javascript-based lightweight text tagging method disclosed in Embodiment 1, this embodiment discloses a specific implementation example of a javascript-based lightweight text tagging system (hereinafter referred to as "system").
[0088] refer to Figure 9 As shown, the system includes:
[0089] Parsing module 1, parsing SQL statements;
[0090] The table name acquisition module 2 obtains an array of table names according to the parsing result of the SQL statement;
[0091] The span tag adding module 3, adds a span tag for each table name in the table name array;
[0092] The location acquiring module 4 is configured to acquire tag location information of the span tag, and acquire the location of the table name in the SQL statement according to the tag location information.
[0093] Specifically, in some of these embodiments, the span tag adding module 3 specifically includes:
[0094] The matching unit 31 is configured to matc...
Embodiment 3
[0104] combine Figure 10 As shown, this embodiment discloses a specific implementation manner of a computer device. The computer device may comprise a processor 81 and a memory 82 storing computer program instructions.
[0105] Specifically, the processor 81 may include a central processing unit (CPU), or an Application Specific Integrated Circuit (ASIC for short), or may be configured to implement one or more integrated circuits in the embodiments of the present application.
[0106] Among them, the memory 82 may include mass storage for data or instructions. For example without limitation, the memory 82 may include a hard disk drive (Hard Disk Drive, referred to as HDD), a floppy disk drive, a solid state drive (SolidState Drive, referred to as SSD), flash memory, optical disk, magneto-optical disk, magnetic tape or universal serial bus (Universal Serial Bus, referred to as USB) drive or a combination of two or more of the above. Storage 82 may comprise removable ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com