perl-Algorithm-AhoCorasick

Efficient Search for Multiple Strings

Aho-Corasick is a classic (1975) algorithm for locating elements of a finite set of strings within an input text. It constructs a finite state machine from a list of keywords, then uses the machine to locate all occurrences of the keywords. Construction of the machine takes time proportional to the sum of the lengths of the keywords and the machine processes the input string in a single pass - that is, the algorithm may be considerably more efficient than searching for each keyword separately.

There is no official package available for openSUSE Leap 15.3

Distributions

openSUSE Tumbleweed