首页> 外国专利> METHOD AND SYSTEM FOR GENERATING A PARSER AND PARSING COMPLEX DATA

METHOD AND SYSTEM FOR GENERATING A PARSER AND PARSING COMPLEX DATA

机译:生成解析器和解析复杂数据的方法和系统

摘要

A parser for parsing complex data is disclosed for avoiding the shortcomings of traditional text parsers by defining, constructing, and utilizing a parser in ways that allow for greater parsing complexity and flexibility, allowing performance of text transformations of greater complexity than would have been practical with traditional parsers. In some embodiments, a method is provided for receiving a parser definition as an input to a parser generator and generating a parser at least in part from the parser definition. In some embodiments, the generated parser comprises two or more handlers forming a processing pipeline. In some embodiments, the parser receives as input a first string into the processing pipeline. In some embodiments, the parser generates a second string by a first handler and inputs the second string regeneratively into the parsing pipeline, if the first string matches an expression specified for the first handler in the parser definition.
机译:公开了一种用于解析复杂数据的解析器,其通过以允许更大的解析复杂度和灵活性的方式定义,构造和利用解析器来避免传统的文本解析器的缺点,从而允许执行比实际可能更大的复杂度的文本转换。传统解析器。在一些实施例中,提供了一种用于接收解析器定义作为解析器生成器的输入并至少部分地从解析器定义生成解析器的方法。在一些实施例中,所生成的解析器包括形成处理管线的两个或更多个处理器。在一些实施例中,解析器将第一字符串作为输入接收到处理管线中。在一些实施例中,如果第一字符串匹配在解析器定义中为第一处理器指定的表达式,则解析器由第一处理器生成第二字符串,并将第二字符串再生地输入解析管道。

著录项

  • 公开/公告号EP3336721A2

    专利类型

  • 公开/公告日2018-06-20

    原文格式PDF

  • 申请/专利权人 PALANTIR TECHNOLOGIES INC.;

    申请/专利号EP20170193791

  • 发明设计人 ELLIOT MARK;

    申请日2014-03-11

  • 分类号G06F17/30;G06F17/27;G06F8/41;

  • 国家 EP

  • 入库时间 2022-08-21 13:16:23

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号