Journal of Computer Science · 2008 · 35 citations · 12 references
ComputingComputer ScienceAlgorithmsNatural Language ProcessingText AnalyticsPattern RecognitionText MiningText Similarity AnalysisPattern MatchingPattern Matching AlgorithmsSliding Window AlgorithmsSliding Windows
In this research, we propose a fast pattern matching algorithm: The Two Sliding Windows (TSW) algorithm. The algorithm makes use of two sliding windows, each window has a size that is equal to the pattern length. Both windows slide in parallel over the text until the first occurrence of the pattern is found or until both windows reach the middle of the text. The experimental results show that TSW algorithm is superior to other algorithms especially when the pattern occurs at the end of the text.
12
Fast Pattern Matching in Strings
Donald E. Knuth, James H. Morris, Vaughan Pratt · SIAM Journal on Computing · 1977 · 2.9K citations
A fast string searching algorithm
Robert S. Boyer, J Strother Moore · Communications of the ACM · 1977 · 2.3K citations · Full text
Practical fast searching in strings
R. Nigel Horspool · Software Practice and Experience · 1980 · 600 citations
Andrew Hume, Daniel M. Sunday · Software Practice and Experience · 1991 · 185 citations
Maxime Crochemore, Dominique Perrin · Journal of the ACM · 1991 · 160 citations · Full text