Generalized Dictionary Matching Under Substring Consistent Equivalence Relations
Generalized Dictionary Matching Under Substring Consistent Equivalence Relations
复制标题
子串一致等价关系下的广义字典匹配
DOI:
10.1007/978-3-030-39881-1_11
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
Hendrian Diptarama
中科院分区:
文献类型:
--
作者:
Johannes Fischer;Tomohiro I;Dominik Koeppl;Hendrian Diptarama
Given a set of patterns called a dictionary and a text, the dictionary matching problem is a task to find all occurrence positions of all patterns in the text. The dictionary matching problem can be solved efficiently by using the Aho-Corasick algorithm. Recently, Matsuoka et al. [TCS, 2016] proposed a generalization of pattern matching problem under substring consistent equivalence relations and presented a generalization of the Knuth-Morris-Pratt algorithm to solve this problem. An equivalence relationis a substring consistent equivalence relation (SCER) if for two stringsX,Y,impliesandfor all. In this paper, we propose a generalization of the dictionary matching problem and present a generalization of the Aho-Corasick algorithm for the dictionary matching under SCER. We present an algorithm that constructs SCER automata and an algorithm that performs dictionary matching under SCER by using the automata. Moreover, we show the time and space complexity of our algorithms with respect to the size of input strings.