Article ID: | iaor20131268 |
Volume: | 65 |
Issue: | 3 |
Start Page Number: | 662 |
End Page Number: | 684 |
Publication Date: | Mar 2013 |
Journal: | Algorithmica |
Authors: | Neuburger Shoshana, Sokol Dina |
Keywords: | matching, text processing, time complexity |
The dictionary matching problem seeks all locations in a given text that match any of the patterns in a given dictionary. Efficient algorithms for dictionary matching scan the text once, searching for all patterns simultaneously. Existing algorithms that solve the 2‐dimensional dictionary matching problem all require working space proportional to the size of the dictionary. This paper presents the first efficient 2‐dimensional dictionary matching algorithm that operates in small space. Given