Back to Search
Start Over
Efficient string matching
- Source :
- Communications of the ACM. 18:333-340
- Publication Year :
- 1975
- Publisher :
- Association for Computing Machinery (ACM), 1975.
-
Abstract
- This paper describes a simple, efficient algorithm to locate all occurrences of any of a finite number of keywords in a string of text. The algorithm consists of constructing a finite state pattern matching machine from the keywords and then using the pattern matching machine to process the text string in a single pass. Construction of the pattern matching machine takes time proportional to the sum of the lengths of the keywords. The number of state transitions made by the pattern matching machine in processing the text string is independent of the number of keywords. The algorithm has been used to improve the speed of a library bibliographic search program by a factor of 5 to 10.
- Subjects :
- Theoretical computer science
General Computer Science
Bitap algorithm
Computer science
Boyer–Moore–Horspool algorithm
String (computer science)
Commentz-Walter algorithm
String searching algorithm
Approximate string matching
Text string
Rabin–Karp algorithm
law.invention
law
Aho–Corasick string matching algorithm
3-dimensional matching
Suffix automaton
Pattern matching
String metric
Boyer–Moore string search algorithm
Compressed pattern matching
Subjects
Details
- ISSN :
- 15577317 and 00010782
- Volume :
- 18
- Database :
- OpenAIRE
- Journal :
- Communications of the ACM
- Accession number :
- edsair.doi...........62132ef3599b304e4f78c59cdb4b5233
- Full Text :
- https://doi.org/10.1145/360825.360855