Character string retrieval method
A string and character technology, applied in the field of computer information processing, can solve problems such as the inability to quickly obtain the jump distance, increase the frequent backtracking of the retrieval process, etc., and achieve the effect of increasing calculation time and accelerating matching
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0061] The present invention will be further described below in conjunction with the accompanying drawings, and the embodiments of the present invention include but are not limited to the following examples.
[0062] figure 1 Implement the flow chart of steps for this embodiment, including:
[0063] Step 1, obtain the feature pair in the pattern string;
[0064] Step 2, obtaining the optimized sequence PNext array for matching the record pattern string and the target string;
[0065] Step 3, obtain the TNext array and the FNext array that record the jump matching distance of the pattern string in the target string;
[0066] Step 4. When the pattern string is matched from left to right in the target string, if the corresponding character is matched, it will be matched according to the matching sequence obtained in step 2. If the corresponding character does not match, jump according to the record array obtained in step 3 in advance match.
[0067] In this embodiment, before...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


