Aho-Corasick: Matching Many Patterns at Once
In short: KMP finds one pattern in one text pass. Aho-Corasick finds every pattern in a whole dictionary in one text pass. Build a trie (section 4's structure) of all the patterns, then give every node a failure link — "if matching breaks here, where in the trie should I carry on from?" — the same idea as KMP's border, generalised from one string to a whole tree of them. The text pointer still never moves backwards; only the trie pointer jumps.

Scanning a document for every banned word at once
A moderation filter checks a post against a list of a thousand banned
phrases. Calling .find() once per phrase means reading the post a
thousand times — O(n · k) for k phrases. A trie merges the phrases that
share a prefix, so the text is only ever read once, no matter how many
phrases there are.
This gives the right answer, but it scans "ushers" four separate times.
Aho-Corasick reads it once and finds all four matches (or, here, the three
that actually occur) as it goes.