×

Method and apparatus for selecting among competing models in a tool for building natural language understanding models

  • US 10,339,216 B2
  • Filed: 07/26/2013
  • Issued: 07/02/2019
  • Est. Priority Date: 07/26/2013
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method:

  • building, by a processor, an ontology of grammar models for performing natural language understanding (NLU) processing by an NLU system by;

    receiving, from an annotating user via a user interface, electronically formatted manually-generated annotations of intents and mentions of a set of sentences that are displayed via the user interface to the annotating user;

    comparing the manually-generated annotations of the intents and the mentions of the set of sentences against multiple machine-generated annotations, each of the machine-generated annotations being generated using a grammar model from among multiple grammar models, the comparing being as a function of each grammar model among the multiple grammar models stored in a memory, the machine-generated annotations corresponding to intents and mentions of the set of sentences, each of the multiple grammar models being a grammar model having a plurality of stub grammar models, and wherein the grammar model correlates an input of a given user to a response to the given user;

    computing a respective inter-sentence score for each respective grammar model based on respective intra-sentence scores of intents and mentions of each machine-generated annotation for the respective grammar model compared to the intents and mentions of the manually-generated annotations, the respective score being a match of each machine-generated annotation for the respective grammar model to each manually-generated annotation; and

    providing, via the user interface, a list of recommended grammar models of the multiple grammar models to employ based on the scores corresponding to the machine-generated annotations corresponding to the respective grammar model, the list including grammar models scoring above a particular semantic confidence threshold;

    receiving selection, from the annotating user via the user interface, of a grammar model of the recommended grammar models; and

    adding the user-selected grammar model of the list of recommended grammar models to the ontology of the NLU system.

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