发明名称 SYSTEM, METHOD, AND PROGRAM FOR GENERATING NONDETERMINISTIC FINITE AUTOMATON NOT INCLUDING ? TRANSITION
摘要 Conversion from a normal expression via a syntax tree to an NFA not including any e transition is carried out at higher speed. A system comprises initial setting means (21) and NFA converting means (22). The initial setting means (21) receives, from an input device (1), a syntax tree which is generated from a normal expression described in only two types of metacharacters ('|', '*') representing characters or matches of zero or more selections and in which a symbol ' ' representing connection and a symbol 'F' representing empty are used for nodes, stores the syntax tree in a syntax tree storage unit (31), carries out initial setting of an NFA to be generated, stores the NFA in an NFA storage unit (32) after the initial setting, and sends the syntax tree data read from the syntax tree storage unit (31) to the NFA converting means (22). The NFA converting means (22) reads the syntax tree data received from the initial setting means (21) and the NFA from the NFA storage unit (32), applies five conversion patterns to the respective nodes of the syntax tree to directly convert the NFA into an NFA not including e transition, stores the generated NFA in the NFA storage unit (32), and outputs the NFA to the output device (4).
申请公布号 WO2009017131(A1) 申请公布日期 2009.02.05
申请号 WO2008JP63604 申请日期 2008.07.29
申请人 NEC CORPORATION;YAMAGAKI, NORIO 发明人 YAMAGAKI, NORIO
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址