Created attachment 194815 [details] py-pyahocorasick.patch Hello, attached is the patch that adds the Python package textproc/py-pyahocorasick, which 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 anautomaton for efficient Aho-Corasick search. QA: ~~~ - poudriere (11.2-RELEASE amd64 + i386) for each py27 + py36 flavor -> OK - portlint -> OK make test results: > Ran 63 tests in 0.010s > > OK
A commit references this bug: Author: miwi Date: Sat Jul 28 12:11:28 UTC 2018 New revision: 475537 URL: https://svnweb.freebsd.org/changeset/ports/475537 Log: 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. WWW: https://github.com/WojciechMula/pyahocorasick PR: 229451 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc. Changes: head/textproc/Makefile head/textproc/py-pyahocorasick/ head/textproc/py-pyahocorasick/Makefile head/textproc/py-pyahocorasick/distinfo head/textproc/py-pyahocorasick/pkg-descr