A Fast String Matching Algorithm
Yibin Hou
Abstract
Yibin Hou
Abstract
The technology of string matching is applied abroad in many fields. Based on the discussions of Brute-Force, Boyer-Moore algorithms and the most important improvements to these algorithms, a novel improved algorithm-BMH2C is presented. The algorithm computes the right shift using two characters and saves the shift in a two-dimension array, increases the shift, decreases the times of comparing and enhances the matching speed effectively. In the end, the comparisons of the testing results of these algorithms are given.
OpenAlex reports 21 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
The technology of string matching is applied abroad in many fields. Based on the discussions of Brute-Force, Boyer-Moore algorithms and the most important improvements to these algorithms, a novel improved algorithm-BMH2C is presented. The algorithm computes the right shift using two characters and saves the shift in a two-dimension array, increases the shift, decreases the times of comparing and enhances the matching speed effectively. In the end, the comparisons of the testing results of these algorithms are given.
Key concepts: String searching algorithm, Commentz-Walter algorithm, Approximate string matching, Algorithm, Matching (statistics), Boyer–Moore string search algorithm, Brute force, Computer science