1. A method for operating a virtual assistant on an electronic device, the method comprising: receiving a textual representation of user speech; identifying a candidate named entity from the textual representation of user speech, wherein the candidate named entity is associated with a plurality of saliency scores, each saliency score of the plurality of saliency scores representing a relationship strength between the candidate named entity and a respective domain of a plurality of domains; determining possible parts of speech of the candidate named entity; determining whether the possible parts of speech of the candidate named entity comprises one or more of a predetermined set of parts of speech; in response to determining that the possible parts of speech of the candidate named entity do not comprise one or more of the predetermined set of parts of speech, lowering a saliency score of the plurality of saliency scores associated with the candidate named entity; identifying a domain of the plurality of domains for processing the textual representation of user speech based at least in part on the lowered saliency score associated with the candidate named entity; and performing, by the virtual assistant, one or more tasks based on the identified domain to present an output.
1. A method for operating a virtual assistant on an electronic device, the method comprising: receiving a textual representation of user speech; identifying a candidate named entity from the textual representation of user speech, wherein the candidate named entity is associated with a plurality of saliency scores, each saliency score of the plurality of saliency scores representing a relationship strength between the candidate named entity and a respective domain of a plurality of domains; determining possible parts of speech of the candidate named entity; determining whether the possible parts of speech of the candidate named entity comprises one or more of a predetermined set of parts of speech; in response to determining that the possible parts of speech of the candidate named entity do not comprise one or more of the predetermined set of parts of speech, lowering a saliency score of the plurality of saliency scores associated with the candidate named entity; identifying a domain of the plurality of domains for processing the textual representation of user speech based at least in part on the lowered saliency score associated with the candidate named entity; and performing, by the virtual assistant, one or more tasks based on the identified domain to present an output. 11. The method of claim 1 , further comprising: in response to determining that the possible parts of speech of the candidate named entity do not comprise one or more of the predetermined set of parts of speech, lowering each saliency score of the plurality of saliency scores by a predetermined amount.