Exemplar-based natural language processing

  • US 10,417,344 B2
  • Filed: 11/16/2018
  • Issued: 09/17/2019
  • Est. Priority Date: 05/30/2014
  • Status: Active Grant
  • ×
    • Pin Icon | RPX Insight
    • Pin
First Claim
Patent Images

1. A method, comprising:

  • at an electronic device with one or more processors and memory;

    receiving a first text phrase representing a user request;

    determining, with respect to a semantic space, a semantic edit distance between the first text phrase and a second text phrase of a plurality of exemplar text phrases;

    determining a centroid distance between a centroid position of the first text phrase in the semantic space and a centroid position of the second text phrase in the semantic space;

    determining a degree of semantic similarity between the first text phrase and the second text phrase based on a linear combination of the semantic edit distance and the centroid distance;

    determining a user intent corresponding to the first text phrase by applying the degree of semantic similarity between the first text phrase and the second text phrase to the plurality of exemplar text phrases; and

    in accordance with the determined user intent, performing one or more tasks responsive to the user request.

View all claims