Pattern Matching with Variable Wildcards
- Author
- LiuYingLing
- Advisor
- WuXinDong , HuXueGang
- School
- Hefei University of Technology
- Major
- Applied Computer Technology
- Classification
- TP391.1 Text Processing
- Degree
- Doctoral dissertation
- Year
- 2014
- Downloads
- 4
- Citations
- 0
Abstract
The information on the Internet shows explosive growth from the rapid development of the Internet, and large amounts of data and information are produced in many application fields. How to extract useful information quickly and effectively from the large amounts of information has become an important research topic. Efficient pattern matching algorithms are expected to quickly obtain user-specified information from massive information. Pattern matching is a classical problem, and it becomes more complicated if there may be flexible wildcards between adjacent characters in a given pattern P. Pattern matching with wildcards and length constraints (PMWL) has not only theoretical research value but also realistic applications in gene comparison, information retrieval and network security.This thesis analyzes the pattern matching problem with variable length wildcards. We study three research issues:(1) the key character locations in a given text;(2) a text segmentation algorithm, which combined with the suffix tree, improves the retrieval efficiency of pattern matching in both time and space; and (3) the completeness of the PMWL problem with a novel data structure of CluTree. A retrieval algorithm based on the CluTree can further improve the matching completeness and time efficiency.The main contributions of the thesis are as follows.(1) A study on the key character locations in a given text;In PMWL, a wildcard between adjacent characters makes the matching problem very complex. When the length of text T is relatively large and the distribution of characters is uneven, existing algorithms have large positioning errors. As existing algorithms do not consider the distribution of the matching text T, and do not take into account the different roles of different characters in P, the different characters have different functions of various sub-patterns. The retrieval of a key character may reduce the efficiency of the whole matching process. This thesis proposes an evaluation mechanism for character importance in P, according to the appearance difference of each character in P and the distribution of P in T. At first, we calculate the frequency function of P and a self-frequency function. According to these function results, we can find the function of P, and the key character pk. The matching algorithm based on key character search seeks to find the key character as the location character, then make use of the matching algorithm SAIL and improve the scanning form. When the form is constructed successfully, the algorithm gets a matching solution. The algorithm returns all matching results after the scanning of text T is finished.(2) A text segmentation algorithm, which combined with the suffix tree, improves the retrieval efficiency of pattern matching in both time and space;To divide and conquer pattern matching in a massive text is an effective strategy to resolve the performance bottleneck problem of massive string matching. Our algorithm divides text T into multiple windows without destroying a matching substring, and searches in the most possible area of each window. Our multi-window mechanism and retrieval optimization method greatly decrease the retrieval time overload. The segmentation of a suffix tree can improve the space efficiency of suffix tree algorithms. The design used in the field of bio informatics, for identification of DNA sequences and protein sequence matching, can improve the efficiency of pattern matching. How to correctly segment is the core problem. In this thesis, our design algorithm can find a segmentation character from T, which does not affect the matching results. Based on the forward process in SAIL for determining the solution space using local constraints, we can eliminate all the matching areas in which constraints are not satisfied. In the process of realization, our algorithm scans each initial segmentation point, and this point may not match with the next point, then ends this cycle and returns to the current scanning position as the correct segmentation position. The segmentation significantly improves the efficiency of retrieval on massive texts.(3) A study on the completeness of the PMWL problem with a novel data structure of CluTree.Because of the emergence of wildcards, the search space in the PMWL problem is more complicated than traditional pattern matching (TPM) which has no wildcards. There is no disputing in TPM that the matching position between the text and the pattern is uniquely determined for each occurrence. However in the PMWL problem, a candidate matching position in text T may appear as a sub-pattern position or as a wildcard position. The diversity of the position to be matched leads to matching uncertainty. There may be multiple candidate substring matching positions nested within each other. How to choose each correct matching position in order to obtain the optimal number of matches is a difficult problem to be solved. Existing algorithms have adopted the left-most strategy in dealing with the entanglement pattern matching problem in a nested region. The strategy is too simple to solve such a problem:when the pattern is more complex and the matching areas in T are nested, some matching substrings will inevitably be lost. This thesis presents a search algorithm RBCT based on a CluTree structure. CluTree is a cluster of trees with red and black nodes, and each tree in the CluTree may have multiple sub-trees. CluTree is established in nested matching areas in T. The pattern matching process selects a matching path in accordance with the sharing degree, correlation degree and mixed information entropy of each node in a CluTree. Our RBCT algorithm uses dynamic pruning techniques to ensure that groups of trees in a CluTree are dynamically updated and the sharing nodes are released. RBCT traverses all the nodes in a CluTree and finds more occurrences compared to the existing algorithms under the one-off condition.
Table of contents
Thanks 8-9
Summary 9-11
Abstract 11-16
illustrations inventory 16-18
Form Listing 18-20
first chapter 20-28
1.1 Introduction 20-24
1.1.1 string matching in bioinformatics application 20-23
1.1.2 string matching in information security applications 23-24
1.2 the main contents 24-26
1.2. an issue source 1.2.2 research 24-25
main content 25-26
1.3 content organization 26-27
1.4 chapter Summary studies 27-28
Chapter pattern matching studies 28-44
2.1 pattern matching 28-37
2.1.1 exact string matching 29-33
2.1.2 approximate string matching 33-35
2.1.3 other string matching 35-37
2.2 PMWL research status issues 37-42
2.3 Chapter Summary 42-44
Chapter Three key character -based positioning pattern matching algorithm 44-60 <br / > 3.1 Introduction 44-45
3.2 key character 45-46
3.3 Quicksearch algorithm 46-53
3.3.1 algorithm Description 46-48
3.3.2 correctness proof 48-49
3.3.3 QuickSearch results 49-53
3.4 GQS algorithm 53 -58
3.4.1 GQS algorithm description 53-56
3.4.2 GQS algorithm experiments and analysis 56-58
3.5 Summary 58 -60
chapter PMWL in question segmentation algorithm 60-91
4.1 Introduction 60-61
4.2 segmentation 61-64
4.2.1 algorithm Description 61-62
4.2.2 Cut algorithm proved 62-64
4.3 PMWC algorithm 64-68
4.3.1 algorithms thought 64-66
4.3.2 algorithm Analysis 66-67
4.3.3 an example 67-68
4.4 experimental results and analysis 68-77
4.5 based on multiple trees suffix tree pattern matching algorithm PST 77-89
4.5.1 problem Description 77-84 Add and remove neutron sequences
4.5.2 suffix trees and more trees 84-85
4.5.3 PST algorithm description 85
4.5.4 results 85-89
4.6 Chapter Summary 89-91
Chapter matching algorithm based PMWL problem CLUTREE of 91-116
5.1 Introduction 91-94
5.1.1 problem definition 92-94
5.1.2 left-most strategy 94
5.2 CluTree related issues 94-99
structure and properties 5.2.1 CluTree of 95-96
5.2.2 path selection and pruning strategies 96-99
5.3 RBCT algorithm design 99-110
5.3.1 algorithm Description 99-102
5.3.2 and space complexity analysis 102
5.3.3 running instance 102-105
5.3.4 algorithm performance improvements 105-110
5.4 experimental results and analysis 110-114
5.5 chapter Summary 114 -116
Chapter summary and Outlook 116-119
6.1 the main research work 116-117
6.2 job prospects 117-119
References 119-130
studying for a doctorate in the study during the topics and published papers 130-131
Related dissertations
- Research on Approximate Pattern Matching with Flexible Wildcards and Length Constraints
- Research of BOC QLSL Subbranch of the Retail Banking Business of Differentiated Marketing Strategy
- Study on the Marketing Strategy of B Company
- Faleria, a Small and Medium Prosciutto Company Entering the Chinese Market:Scenario and Approaches
- The Design of MLC Upper Pc Control System Based on Sub-field Shape
- The Studies on Tactile Feedback-based Minimally Invasive Cardiac Surgery Robotics
- Design and Implementation of Trojan Detection System Based on Network Transmission Content
- The Research and Implementation of Distributed Intrusion Detection System Based on Libnids
- Researches on Non-exact Deep Packet Inspection
- Dendritic Cell Algorithm Online Analysis Module and Its Applications
- The Research of Multi-pattern Matching Algorithms Based on Bit-split Method
- An Algorithm for Matching Strings with Wildcards
- Keyword Extraction Based on Statistic and Syntactic Parsing
- Research on Structured Information Extraction Based on Pattern Matching
- Research on Vertical Search Engine and Its Application in Airport Information Retrieval
- Ontology-based Model for Specific Style Synthesis of Chinese Calligraphic Character
- Web Content Extraction Research Based on Dom Structure Tree and Feature Word
- Moving Object Segmentation in the Video Captured by a Panning Camera
- Study of Segmentation Technics for MRA Cerebrovascular
- Research of the Segmentation Technology for VCH-F2Abdominal Slice Image