Dictionary Matching with One Gap
Amihood Amir, Avivit Levy, Ely Porat, B. Riva Shalom

TL;DR
This paper presents efficient algorithms for dictionary matching with a single gap, optimizing search time and space, which is particularly useful in cybersecurity applications involving overlapping patterns.
Contribution
The authors introduce the first optimal solutions for dictionary matching with one gap, handling multiple overlaps with improved time and space complexity.
Findings
Achieves $O(d ext{log} d + |D|)$ preprocessing time
Supports query time of $O(n(eta - ext{alpha}) ext{log} ext{log} d ext{log}^2 ext{min}igrace d, ext{log}|D|ig floor + occ)$
Provides an alternative $O(d^2 + |D|)$ preprocessing with $O(n(eta - ext{alpha}) + occ)$ query time.
Abstract
The dictionary matching with gaps problem is to preprocess a dictionary of gapped patterns over alphabet , where each gapped pattern is a sequence of subpatterns separated by bounded sequences of don't cares. Then, given a query text of length over alphabet , the goal is to output all locations in in which a pattern , , ends. There is a renewed current interest in the gapped matching problem stemming from cyber security. In this paper we solve the problem where all patterns in the dictionary have one gap with at least and at most don't cares, where and are given parameters. Specifically, we show that the dictionary matching with a single gap problem can be solved in either time and space, and query time $O(n(\beta…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · DNA and Biological Computing · semigroups and automata theory
