Python and C implementation of the Aho-Corasick algorithm
pyahocorasick is a fast and memory efficient library for exact or approximate multi-pattern string search meaning that you can find multiple key strings occurrences at once in some input text. The library provides an ahocorasick Python module that you can use as a plain dict-like Trie or convert a Trie to an automaton for efficient Aho-Corasick search.
$
pkg install py311-pyahocorasickOrigin
textproc/py-pyahocorasick
Size
87.7KiB
License
BSD3CLAUSE
Maintainer
kai@FreeBSD.org
Dependencies
1 packages
Required by
0 packages