首页> 外国专利> non-deterministic finite automaton generation system and method, and a program that does not include the ε transition

non-deterministic finite automaton generation system and method, and a program that does not include the ε transition

机译:非确定性有限自动机生成系统和方法,以及不包含ε过渡的程序

摘要

Conversion from a normal expression via a syntax tree to an NFA not including any ϵ 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 'Φ' 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 ϵ transition, stores the generated NFA in the NFA storage unit (32), and outputs the NFA to the output device (4).
机译:通过语法树从正则表达式转换为不包含任何ϵ的NFA。过渡以更高的速度执行。一个系统包括初始设置装置(21)和NFA转换装置(22)。初始设置装置(21)从输入设备(1)接收语法树,该语法树是从仅在两种表示字符或零或匹配项的元字符('|','*')中描述的正则表达式生成的选择更多,并且将表示连接的符号“”和表示空的符号“Φ”用于节点,将语法树存储在语法树存储单元(31)中,对要生成的NFA进行初始设置,存储在初始设置之后,将NFA存储在NFA存储单元(32)中,并将从语法树存储单元(31)读取的语法树数据发送到NFA转换装置(22)。 NFA转换装置(22)从初始设置装置(21)接收语法树数据,并从NFA存储单元(32)读取NFA,对语法树的各个节点施加五个转换模式以直接转换NFA进入不包含ϵ的NFA中转换,将生成的NFA存储在NFA存储单元(32)中,并将NFA输出到输出设备(4)。

著录项

  • 公开/公告号JP5381710B2

    专利类型

  • 公开/公告日2014-01-08

    原文格式PDF

  • 申请/专利权人 日本電気株式会社;

    申请/专利号JP20090525412

  • 发明设计人 山垣 則夫;

    申请日2008-07-29

  • 分类号G06F17/30;

  • 国家 JP

  • 入库时间 2022-08-21 16:10:50

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号