2010•Unpublished venueRequires access

An Improved Character String Pattern Matching Algorithm

Hu Jin

Open publisher page 0 citations

Abstract

By analyzing a variety of improved pattern matching algorithms,an pattern matching algorithm is improved. Firstly,the text string is preprocessed. Two kinds of characters are made up. One does not exist in the pattern string,and the other is the characters that appear the least. Secondly,through matching both the first character and the last character of the pattern string,the number of the marked characters which appear the least is reduced. If the matching fails,the pattern string directly slides to the next marked character which appears the least. Finally,experimental results show that the frequencies of the movement and the comparison decreased greatly by the improved algorithm,and the additional cost of space is less than the length of the pattern string. Moreover,the efficiency of the pattern matching is improved.

About this research paper

What this paper is about

By analyzing a variety of improved pattern matching algorithms,an pattern matching algorithm is improved. Firstly,the text string is preprocessed. Two kinds of characters are made up. One does not exist in the pattern string,and the other is the characters that appear the least. Secondly,through matching both the first character and the last character of the pattern string,the number of the marked characters which appear the least is reduced. If the matching fails,the pattern string directly slides to the next marked character which appears the least. Finally,experimental results show that the frequencies of the movement and the comparison decreased greatly by the improved algorithm,and the additional cost of space is less than the length of the pattern string. Moreover,the efficiency of the pattern matching is improved.

Why it matters

A significance statement is not available in the OpenAlex record.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

By analyzing a variety of improved pattern matching algorithms,an pattern matching algorithm is improved. Firstly,the text string is preprocessed. Two kinds of characters are made up. One does not exist in the pattern string,and the other is the characters that appear the least. Secondly,through matching both the first character and the last character of the pattern string,the number of the marked characters which appear the least is reduced. If the matching fails,the pattern string directly slides to the next marked character which appears the least. Finally,experimental results show that the frequencies of the movement and the comparison decreased greatly by the improved algorithm,and the additional cost of space is less than the length of the pattern string. Moreover,the efficiency of the pattern matching is improved.

Key concepts: String searching algorithm, Character (mathematics), Commentz-Walter algorithm, String metric, Pattern matching, Matching (statistics), String (physics), Approximate string matching

Related papers

Back to paper searchBrowse research topicsOriginal source
An Improved Character String Pattern Matching Algorithm — Research Paper | ScholarLens