AlgorithmsStringsEdit on GitHubEdit history
Aho–Corasick
1975
An algorithm that finds multiple patterns in a single pass over the text using an automaton formed by adding failure links to a trie of the pattern set.
Origin
Alfred V. Aho, Margaret J. Corasick (1975). Efficient String Matching: An Aid to Bibliographic Search. Communications of the ACM 18(6).doi:10.1145/360825.360855 — checked against Crossref, 2026-11-08
Lineage
Algorithms 4 · Relations 3
Parent algorithms
Where it came from
Knuth–Morris–Pratt1970
Reference workGeneralizes the KMP failure function to a trie of the pattern set (standard textbook account)
Trie1959
Author statementAutomaton that adds a failure function to the pattern-set trie (goto function) — doi:10.1145/360825.360855
Derived algorithms
What it led to
Commentz-Walter Algorithm1979
Reference workDescribed as combining an Aho–Corasick-style trie of the (reversed) patterns with Boyer–Moore-style skipping. — doi:10.1007/3-540-09510-1_10
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…