Better resolution when referencing to concepts
First Claim
1. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of an electronic device, the one or more programs including instructions for:
- receiving user speech input;
determining, from a plurality of domains, a primary domain corresponding to a textual representation of the user speech input;
identifying, from the textual representation, a first substring that corresponds to a first concept of the primary domain;
parsing the first substring to determine a secondary domain of the plurality of domains;
based on the secondary domain, obtaining a data item corresponding to the first substring; and
in accordance with determining that the data item is valid for resolving the first concept of the primary domain;
extracting, from the data item, a parameter value for the first concept of the primary domain;
invoking a service based on the primary domain to produce a result using the parameter value for the first concept; and
outputting the result.
0 Assignments
0 Petitions
Accused Products
Abstract
Systems and processes for operating a virtual assistant programmed to refer to shared domain concepts using concept nodes are provided. An example process includes receiving a user speech input, determining a primary domain corresponding to a textual representation of the user speech input, identifying, from the textual representation, a first substring that corresponds to a first concept of the primary domain, parsing the first substring to determine a secondary domain of the plurality of domains, and based on the secondary domain, obtaining a data item corresponding to the first substring. In accordance with determining that the data item is valid for resolving the first concept of the primary domain, extracting, from the data item, a parameter value for the first concept of the primary domain and invoking a service based on the primary domain to produce a result using the parameter value for the first concept.
-
Citations
21 Claims
-
1. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of an electronic device, the one or more programs including instructions for:
-
receiving user speech input; determining, from a plurality of domains, a primary domain corresponding to a textual representation of the user speech input; identifying, from the textual representation, a first substring that corresponds to a first concept of the primary domain; parsing the first substring to determine a secondary domain of the plurality of domains; based on the secondary domain, obtaining a data item corresponding to the first substring; and in accordance with determining that the data item is valid for resolving the first concept of the primary domain; extracting, from the data item, a parameter value for the first concept of the primary domain; invoking a service based on the primary domain to produce a result using the parameter value for the first concept; and outputting the result. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An electronic device, comprising:
-
one or more processors; and memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for; receiving user speech input; determining, from a plurality of domains, a primary domain corresponding to a textual representation of the user speech input; identifying, from the textual representation, a first substring that corresponds to a first concept of the primary domain; parsing the first substring to determine a secondary domain of the plurality of domains; based on the secondary domain, obtaining a data item corresponding to the first sub string; and in accordance with determining that the data item is valid for resolving the first concept of the primary domain; extracting, from the data item, a parameter value for the first concept of the primary domain; invoking a service based on the primary domain to produce a result using the parameter value for the first concept; and outputting the result. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A method for operating a digital assistant, the method comprising:
-
at an electronic device having one or more processors and memory; receiving user speech input; determining, from a plurality of domains, a primary domain corresponding to a textual representation of the user speech input; identifying, from the textual representation, a first substring that corresponds to a first concept of the primary domain; parsing the first substring to determine a secondary domain of the plurality of domains; based on the secondary domain, obtaining a data item corresponding to the first sub string; and in accordance with determining that the data item is valid for resolving the first concept of the primary domain; extracting, from the data item, a parameter value for the first concept of the primary domain; invoking a service based on the primary domain to produce a result using the parameter value for the first concept; and outputting the result. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification