Python module (C extension and plain python) implementing Aho-Corasick algorithm
This module is written in C. You need a C compiler installed to compile native CPython extensions. To install:
Then create an Automaton:
You can use the Automaton class as a trie. Add some string key…