Aho-Corasick-algorithm

(★ 12)

This example shows the Aho-Corasick algorithm for multi-pattern search in Python. It builds a trie with failure links to scan text efficiently in linear time, detecting all occurrences of given patterns. The implementation is part of the 127 algorithms in Antivirus Engines: From Methods to Innovations, Design, and Applications.

Aho-Corasick-algorithm Latest Version Download

Download Latest Version (.zip)
// repository documentation