首页> 外国专利> Using multiple natural language classifier to associate a generic query with a structured question type

Using multiple natural language classifier to associate a generic query with a structured question type

机译:使用多种自然语言分类器将通用查询与结构化问题类型相关联

摘要

A natural language query (NLQ) is translated to a structured data query (e.g., a SQL statement) by extracting entities from the NLQ and replacing them with generic variables to form a generic query. The generic query is associated with a structured question type which includes structured data variables using natural language classifiers (NLCs). Specific data is inserted in the structured question type in relation to the structured data variables based on the extracted entities to form the structured data query. An ensemble of NLCs trained with different ground truths can be used to yield multiple candidate question types. One of the candidate question types is selected based on confidence levels. The multiple NLCs can include an NLC which is optimized according to a focus of the generic query. For example, an NLC can be optimized for a specific data structure (such as SQL), or for comparative queries.
机译:通过从NLQ中提取实体并将其替换为通用变量以形成通用查询,将自然语言查询(NLQ)转换为结构化数据查询(例如SQL语句)。通用查询与结构化问题类型相关联,该结构化问题类型包括使用自然语言分类器(NLC)的结构化数据变量。基于提取的实体,将特定数据与结构化数据变量相关地插入到结构化问题类型中,以形成结构化数据查询。一组使用不同的基本事实训练的NLC可以用于产生多种候选问题类型。根据置信度选择候选问题类型之一。多个NLC可以包括根据通用查询的焦点而优化的NLC。例如,可以针对特定数据结构(例如SQL)或比较查询优化NLC。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号