首页> 外国专利> Systems and methods for generating weighted finite-state automata representing grammars

Systems and methods for generating weighted finite-state automata representing grammars

机译:用于生成表示语法的加权有限状态自动机的系统和方法

摘要

A context-free grammar can be represented by a weighted finite-state transducer. This representation can be used to efficiently compile that grammar into a weighted finite-state automaton that accepts the strings allowed by the grammar with the corresponding weights. The rules of a context-free grammar are input. A finite-state automaton is generated from the input rules. Strongly connected components of the finite-state automaton are identified. An automaton is generated for each strongly connected component. A topology that defines a number of states, and that uses active ones of the non-terminal symbols of the context-free grammar as the labels between those states, is defined. The topology is expanded by replacing a transition, and its beginning and end states, with the automaton that includes, as a state, the symbol used as the label on that transition. The topology can be fully expanded or dynamically expanded as required to recognize a particular input string.
机译:上下文无关的语法可以由加权有限状态转换器表示。该表示可用于将语法有效地编译为加权有限状态自动机,该自动机接受具有相应权重的语法允许的字符串。输入上下文无关文法的规则。根据输入规则生成有限状态自动机。确定了有限状态自动机的强连接组件。将为每个牢固连接的组件生成一个自动机。定义了一种拓扑,该拓扑定义了多个状态,并且使用上下文无关文法的活动非终端符号作为这些状态之间的标签。通过用自动机替换过渡及其开始和结束状态来扩展拓扑,该自动机包括作为状态的用作该标签的符号。可以根据需要完全扩展拓扑或动态扩展拓扑,以识别特定的输入字符串。

著录项

  • 公开/公告号US8050908B2

    专利类型

  • 公开/公告日2011-11-01

    原文格式PDF

  • 申请/专利权人 MEHRYAR MOHRI;MARK-JAN NEDERHOF;

    申请/专利号US20080134503

  • 发明设计人 MEHRYAR MOHRI;MARK-JAN NEDERHOF;

    申请日2008-06-06

  • 分类号G06F17/27;

  • 国家 US

  • 入库时间 2022-08-21 18:10:21

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号