Better resolution when referencing to concepts
AssigneeApple Inc.
InventorsRichard D. GIULI, Nicholas K. TREADGOLD
Life of this patent
Estimating the term…
Abstract
Systems and processes for operating a virtual assistant programmed to refer to shared domain concepts using concept nodes are provided. In an example process, user speech input is received. A textual representation of the user speech input is generated. The textual representation is parsed to determine a primary domain representing a user intent for the textual representation. A first substring from the textual representation that corresponds to a first attribute of the primary domain is identified. The identified first substring is parsed to determine a secondary domain representing a user intent for the first substring. A task flow comprising one or more tasks is performed based on the primary domain and the secondary domain.
Claims22
(canceled)
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.
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 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.
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 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.
Dependencies are inferred from the claim text.