Apocrypha

ahocorasick

Python module implementing 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.

Available in

OverlayNewestEbuildsLast activity
guru gitweb ↗ 2.1.0 2 46 h details ›

Versions & arches

VersionOverlay amd64x86 Committed
2.1.0 guru amd64 testing x86 testing view · download · history ↗
2.0.0 guru amd64 testing x86 testing view · download · history ↗

Use flags of 2.1.0

  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
  • debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
2 expansion flags (python targets, ABIs, cpu flags…)
  • python_targets_python3_12
  • python_targets_python3_13

Runtime dependencies of 2.1.0

show 6 lines
python_targets_python3_12? (
)
python_targets_python3_13? (
)