A New Translation from Semi-extended Regular Expressions into NFAs and Its Application to an Approximate Matching Problem
A New Translation from Semi-extended Regular Expressions into NFAs and Its Application to an Approximate Matching Problem
复制标题
DOI:
10.1007/978-3-540-24587-2_18
复制
发表时间:
2003-09
期刊:
影响因子:
--
通讯作者:
Hiroaki Yamamoto
中科院分区:
文献类型:
--
作者:
Hiroaki Yamamoto
Semi-extended regular expressions (SEREs) are regular expressions (REs) with intersection. Two algorithms for translating REs into nondeterministic finite automata (NFAs) are widely known, that is, Thompson construction and Glushkov construction. A trivial way for translating SEREs into NFAs is to use Thompson construction because it can easily be applied to SEREs. It seems to be difficult to directly apply Glushkov construction to SEREs. In this paper, we present a new translation from SEREs into NFAs using Glushkov construction and the modular decomposition technique by Yamamoto. Then, given an SERErwithmrintersection operators, we can generate an NFA with at mostNr+1 states andtransitions intime and space. HereNris a number obtained from the decomposition ofr, and is less than the number of states of an NFA obtained by the trivial translation (that is, the translation using Thompson construction). In addition, we will show an application to an approximate SERE matching problem.