×

Knowledge-based framework for improving natural language understanding

  • US 10,733,375 B2
  • Filed: 06/19/2018
  • Issued: 08/04/2020
  • Est. Priority Date: 01/31/2018
  • Status: Active Grant
First Claim
Patent Images

1. An electronic device, comprising:

  • one or more processors;

    a memory; and

    one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for;

    receiving natural language input;

    determining, from a plurality of domains, a domain corresponding to the natural language input;

    in accordance with determining that the domain corresponds to a predetermined type of domain;

    determining a first and a second parsing result for the natural language input, wherein each of the first and the second parsing results comprises a respective mapping of one or more properties of the domain to one or more words of the natural language input and wherein a first confidence score of the first parsing result is higher than a second confidence score of the second parsing result;

    determining whether the first parsing result corresponds to any of a plurality of data items in a knowledge base;

    determining whether the second parsing result corresponds to a data item of the plurality of data items in the knowledge base; and

    in accordance with a determination that the first parsing result does not correspond to any of the plurality of data items in the knowledge base and in accordance with a determination that the second parsing result corresponds to the data item of the plurality of data items in the knowledge base, ranking, using the knowledge base, the second parsing result higher than the first parsing result;

    after ranking, using the knowledge base, the second parsing result higher than the first parsing result, generating a task flow using the second parsing result based on the ranking; and

    executing the task flow to provide an output based on the data item.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×