This repo is a pure python implementation for pyahocorasick, inspired by abusix/ahocorapy.
- Python 3.8 or later
pip install ahocodeahocode is a fallback library for pyahocorasick, so the Automaton class and its methods
have same names and parameters.
Below listed are the implemented classes and methods.
Automaton
add_wordgetclearexistsfind_allitemsmake_automatoniterkeysvalues__getstate____setstate____len____contains__
For documentation please refer to: https://pyahocorasick.readthedocs.io/en/latest