Correctness verification method and system of suffix array
A technology of correctness verification and suffix array, which is used in electrical digital data processing, special data processing applications, natural language data processing and other directions to achieve the effect of reducing time and space overhead
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 It is a schematic flowchart of a correctness verification method of a suffix array in an embodiment. Such as figure 1 As shown, a correctness verification method of a suffix array, including:
[0027] S101: Scan T once from right to left, compare the size of the currently scanned character T[i] and the subsequent character T[i+1] according to the definition of the suffix type, and calculate the character T[i] and suf(T,i) of T ), recorded in t[i];
[0028] S102: Scan T from left to right to find out the positions where all LMS characters appear, so as to obtain the first character pointers of all LMS substrings, and use the array P1 to record;
[0029] S103: According to the arrays P1, B, and SA, sort the LMS substrings of T by using the inductive sorting method, and save the result in the array SA1;
[0030] The specific steps of sorting the LMS substring of T in the step S103 are as follows:
[0031]31) Initialize the value of all elements of SA to be -1...
Embodiment 2
[0048] figure 2 It is a schematic structural diagram of a system for verifying the correctness of a suffix array in an embodiment. Such as figure 2 As shown, a correctness verification system of a suffix array includes: a character string reading module 1, an L / S suffix recognition module 2, an LMS suffix recognition module 3, an LMS substring sorting module 4, an LMS substring naming module 5, String contraction module 6, L-type suffix sorting module 7 and S-type suffix sorting and LMS suffix verification module 8; string reading module 1, used to read strings; L / S suffix recognition module 2, used to identify characters The string suffix type is L-type or S-type; the LMS suffix recognition module 3 is used to identify the LMS suffix in the S-type suffix; the LMS substring sorting module 4 is used to sort the LMS substrings by inductive sorting; LMS substring naming Module 5, naming the LMS substring. Compare the adjacent LMS substrings in the ordered LMS substrings, if ...
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