Improved AC-BM Algorithm for Matching Multiple Strings

WAN Guo-gen,QIN Zhi-guang
DOI: https://doi.org/10.3969/j.issn.1001-0548.2006.04.030
2006-01-01
Abstract:ACBM is a Boyer-Moore like algorithm applied to a set of held in an Aho-Corassick like keyword tree that overlays common prefixes of the keywords. The algorithm takes the best characteristics of both the Boyer-Moore and Aho-Corasick. Based on the idea of Boyer-Moore-Horspool, we make an improvement to AC-BM algorithm. In the improved version, the Good Prefix Shift is not performed, the Bad Character Shift function is improved, the Goto procedure is also modified which do not keep the parameters of Good Prefix Shift and Bad Character Shift.
What problem does this paper attempt to address?