×

Natural language system question classifier, semantic representations, and logical form templates

  • US 10,262,062 B2
  • Filed: 12/21/2015
  • Issued: 04/16/2019
  • Est. Priority Date: 12/21/2015
  • Status: Active Grant
First Claim
Patent Images

1. In a digital medium environment to answer a question included in a natural language input, a system implemented by at least one computing device, the system comprising:

  • a question classifier module implemented at least partially in hardware to classify the natural language input as corresponding to respective ones of a plurality of classes of questions using at least one question classification label;

    a semantic extractor module implemented at least partially in hardware to extract a semantic intent of the natural language input as a semantic entity and a semantic representation of the natural language input;

    a logical form selector module implemented at least partially in hardware to;

    select a plurality of logical form templates, the selection based at least in part on the at least one question classification label;

    rank the plurality of logical form templates based on an amount of completion of logical form slot-filling and alignment of named entity types in the natural language input to expected entity types in the logical form templates;

    select one of the logical form templates based at least in part on the rank; and

    at least partially fill in the selected one of the logical form templates using the semantic entity and the semantic representation;

    a query mapper module implemented at least partially in hardware to produce a database query by mapping the at least partially filled in logical form to the database query, the at least partially filled in logical form including;

    a pre-condition slot containing a first attribute that controls grouping of results of the database query;

    a post-condition slot containing a second attribute that constrains an order of the results of the database query; and

    a slot populated with an indicator of a statistical function selected based on the natural language input from a plurality of available statistical functions; and

    a database query module implemented at least partially in hardware that generates an answer to the question included in the natural language input by executing the database query against a database structured in accordance with a structure of the database query, the answer providing user assistance by responding to the question.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×