AhoCorasickTrie {AhoCorasickTrie}R Documentation

AhoCorasickTrie: fast searching for multiple keywords in multiple texts

Description

Builds an Aho-Corasick trie from one or more keywords and uses it to search one or more texts. For a large number of keywords, Aho-Corasick is much faster than a naive approach (such as lapply(keywords, gregexpr, text)).


[Package AhoCorasickTrie version 0.1.2 Index]