1999 · 17 citations · 13 references
ComputingComputer ScienceAlgorithmsSequence AnalysisSequence Pattern RecognitionSublinear AlgorithmsLinear ComplexityLongest Common SubsequencePattern Matching Algorithms
Given two strings, text t of length n, and pattern p = p1 : : : pk of length k, and given a natural number w, the subsequence matching problem consists in finding the number of size w windows of text t which contain pattern p as a subsequence, i.e. the letters p1 ; : : : ; pk occur in the window, in the same order as in p, but not necessarily consecutively (they may be interleaved with other letters). Subsequence matching is used for finding frequent patterns and association rules in databases. We generalize the Knuth-Morris-Pratt (KMP) pattern matching algorithm; we define a non-conventional kind of RAM, the MP--RAMs which model more closely the microprocessor operations; we design an O(n) on-line algorithm for solving the subsequence matching problem on MP--RAMs. Keywords: Subsequence matching, algorithms, frequent patterns, episode matching, datamining. 1 Introduction We address the following problem. Given a text t of length n and a pattern p = p 1 \\Delta \\Delta \\Delta p k of l...
13
Fast Pattern Matching in Strings
Donald E. Knuth, James H. Morris, Vaughan Pratt · SIAM Journal on Computing · 1977 · 2.9K citations
On-line construction of suffix trees
Esko Ukkonen · Algorithmica · 1995 · 1.5K citations
Sun Wu, Udi Manber · Communications of the ACM · 1992 · 734 citations · Full text
A new approach to text searching
Ricardo Baeza‐Yates, Gastón H. Gonnet · Communications of the ACM · 1992 · 605 citations · Full text