BSD Ports

textproc/py-pyahocorasick 2.1.0_1 DragonFly

Python and C implementation of the Aho-Corasick algorithm

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
python, textproc
Package size
28.5 KiB, 88.4 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlytextproc/py-pyahocorasick2.1.0_1
FreeBSDtextproc/py-pyahocorasick2.3.1
HardenedBSDtextproc/py-pyahocorasick2.3.1
GhostBSDtextproc/py-pyahocorasick2.3.1

Install

Binary package:

pkg install py311-pyahocorasick

From DPorts:

cd /usr/dports/textproc/py-pyahocorasick && make install clean

Dependencies

Run dependencies 1

No port depends on this one.