Studies on String Mathching Algorithm Based on the Character’s Law
- Author
- LiGuoHua
- Advisor
- ZuoHongYing
- School
- Zhengzhou University
- Major
- Computer System Architecture
- Classification
- TP391.1 Text Processing
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 37
- Citations
- 0
Abstract
The string matching problem is a very important topic in the field of information processing. With the rapid development of network and IT, the information explosion caused by the extreme expansion of the amount of information, making the rapid information processing becomes more and more important. A point of view, the efficiency of the string matching even become a bottleneck for the accurate of the information required by the people.In the field of science (such as computer science, biology, demographic, financial, etc.), nature and social life (such as word frequency, the frequency of first digital numbers, etc.), there are a lot of phenomena or systems, make a confirmed that many of the inherent features are the power-law distribution. The power-law distribution of the statistical law reveals the relationship between many seemingly in no way associated things, but this relationship is known as the unbalanced distribution of the characteristics of a certain perspective, can often move things forward. The Zipfs law, Heaps’ law, Benford’s Law are to study the long-tailed distribution of several important law.As a reference of Zipfs law, Heaps’law and Benford’s law, We make the first study of the intrinsic properties of different character inherent in the vocabulary of English words, and put forward the concept of the character characterization of the number of words that the character’s information, the results verify that the characters in reverse ranking with the distribution of the character’s information is also consistent with power-law distribution, and then, we made the character’s law. Furthermore, the imbalance of the character’s information used to guide the string matching algorithm. Obtained and after the experiments, we found that the character’s law can accelerate the process of string matching and improve the performance of string matching algorithms, we presents the string match algorithm based on the character’s law, the algorithm of three variants of the algorithm is SMCI-noSort algorithm, SMCI-partial-sort algorithm and SMCI-all-sort algorithm. The experiments show that the character’s law can very fast accelerate the process of the string matching, and thus speeding up the speed of the string matching algorithm.Specifically, the innovative research of this paper is mainly reflected in the following points:1. This paper defines a concept of using the characters to represent words, and a concept of the information of a character, through experimental demonstration, the reciprocal of the character’s order and the information of a character are all in line with the power distribution, and then put forward the character’s law.2. This paper proposed SMCI-no-sort algorithm; the idea of the algorithm is completely character-based inverted index structure for string search, the searching process make use of the uneven distribution of the characters. The algorithm and the process simply create the inverted index structure, rather than sorting the substrings, the time of preprocess is very low.3. This paper proposed the SMCI-all-sort algorithm; the algorithm is corresponding to the SMCI-no-sort algorithm to sort all the list in the preprocessing stage, in the searching process, according to the fully ordered list, the operation is only binary search process.4. This paper Proposed the SMCI-partial-sort algorithm; the algorithm makes full use of the amount of the uneven distribution of the character, it select the part of the sort the list in the preprocess phase, so as to enhance the efficiency of the preprocessing phase and search phase.
Table of contents
Summary 4-6
Abstract 6-10
chart catalog 10-12
1 Introduction 12-15
1.1 Background and Significance 12-13
1.1.1 background and Significance 12-13
1.1.2 research 13
1.2 papers organization 13-15
2 string matching research 15-20
3 languages ??statistical laws 20-25
3.1 Zipf 's law 21-22
3.2 Heaps laws 22-23
3.3 Benford 's Law 23-25 ??
4 characters in the amount of information (Character's Law) law 25-29
4.1 characters define the amount of information 25
4.2 character feature statistical laws 25-27
4.3 character amount of information law 27 - 29
5 based on the amount of information law character string matching algorithm 29-50
5.1 characters in the amount of information the search query rule 29-30
5.2 based on the amount of information law string matching algorithm 30-38
5.2.1 SMCI-no-sort algorithm 31-32
5.2.2 SMCI-all-sort 32 - 34
5.2.3 SMCI-partial-sort algorithm 34-38
5.3 SMCI algorithm examples 38-41
5.4 experiments and results analysis 41 -50
6 summary and Outlook 50-51
References 51-54
biographical papers published during the study and research 54 -55
Thanks 55
Related dissertations
- Hardware-based String Matching Algorithm in Network Content Analysis
- Research and Implementation of String Matching Algorithm in Network Intrusion Detection System(NIDS)
- 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
- The Research of Multi-pattern Matching Algorithms Based on Bit-split Method
- An Algorithm for Matching Strings with Wildcards
- Research and Implementation on Efficient String Match for Ten Millions of Patterns
- Research on Structured Information Extraction Based on Pattern Matching
- Pattern Matching with Variable Wildcards
- Approximate String Matching under Different Models
- Improvement and Implementation of Iris Recognition Algorithm
- The Research on Time Series Analysis Techniques
- An Empirical Study on Quantitative Investment Strategies Based on Data Mining
- Design and Implementation of Mobile Internet Content Security Audit System
- Hybrid Carrier Communication System Resistance against Multi-path Fading and Narrowband Interference
- Research on Signal Processing Technology for Represent Polymer Compounding State
- Research and Design of FPGA-based High Performance Pattern Matching Engines
- Research on Multi-pattern Matching Algorithms Based on Regular Expressions and Hardware Implementation
- The Design and Implementation of Network-Based Intrusion Detection System Based on Libnids