×

Self-learning statistical natural language processing for automatic production of virtual personal assistants

  • US 9,772,994 B2
  • Filed: 07/25/2014
  • Issued: 09/26/2017
  • Est. Priority Date: 07/25/2013
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computing device for interpreting natural language requests, the computing device comprising:

  • a semantic compiler module to generate a semantic model as a function of a corpus of predefined requests, wherein the semantic model includes a plurality of mappings between a natural language request and a semantic representation of the natural language request, wherein the semantic representation identifies a user intent and zero or more slots associated with the user intent; and

    a request decoder module to;

    (i) generate, using the semantic model, a lattice of candidate alternatives indicative of a natural language request, wherein each candidate alternative represents a token of the natural language request, and wherein the lattice comprises a plurality of routes, wherein each route represents the natural language request;

    (ii) assign a composite confidence weight to each candidate alternative as a function of the semantic model;

    (iii) determine an optimal route through the candidate alternative lattice from the plurality of routes based on the composite confidence weight; and

    (iv) generate a semantic representation of the natural language request as a function of the candidate alternatives of the optimal route;

    wherein to generate the semantic model comprises to;

    (i) identify a contextual semantic feature in the corpus using a semi-supervised algorithm, wherein the contextual semantic feature comprises a sequence of lexical sets associated with a user intent and zero or more slots associated with the user intent;

    (ii) determine a first probability of the contextual semantic feature given the user intent; and

    (iii) determine a normalized probability of the user intent as a function of a rate of occurrence of the contextual semantic feature in the corpus; and

    wherein to identify the contextual semantic feature using the semi-supervised algorithm comprises to;

    (i) tag a first group of predefined sample queries in the corpus to identify user intents and slots;

    (ii) extract the contextual semantic feature from the sample queries;

    (iii) analyze, using the semantic model, a second group of predefined sample queries in the corpus;

    (iv) extract additional contextual semantic features in response to analyzing the second group of predefined sample queries; and

    (v) update the first probability and the normalized probability in response to analyzing the second group of predefined sample queries.

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