Increasing semantic coverage with semantically irrelevant insertions
First Claim
1. A computer-implemented method performed by a data processing apparatus, comprising:
- for each action of a set of actions, generating a training set of command sentences from a corresponding set of command sentences for the action, the generating the training set of command sentences including retaining first n-grams determined to be semantically relevant for the action and removing second n-grams that are determined to be semantically irrelevant for the action from each sentence in the corresponding set of command sentences for the action; and
for each action, generating a command model from the training set of command sentences and persisting the command model in a computer memory device, the command model facilitating the generation of an action score for the action for an input sentence based on;
the first n-grams determined to be semantically relevant for the action; and
second n-grams for the action that are also second n-grams for all other actions.
2 Assignments
0 Petitions
Accused Products
Abstract
A method includes accessing data specifying a set of actions, each action defining a user device operation and for each action: accessing a corresponding set of command sentences for the action, determining first n-grams in the set of command sentences that are semantically relevant for the action, determining second n-grams in the set of command sentences that are semantically irrelevant for the action, generating a training set of command sentences from the corresponding set of command sentences, the generating the training set of command sentences including removing each second n-gram from each sentence in the corresponding set of command sentences for the action, and generating a command model from the training set of command sentences configured to generate an action score for the action for an input sentence based on: first n-grams for the action, and second n-grams for the action that are also second n-grams for all other actions.
-
Citations
19 Claims
-
1. A computer-implemented method performed by a data processing apparatus, comprising:
-
for each action of a set of actions, generating a training set of command sentences from a corresponding set of command sentences for the action, the generating the training set of command sentences including retaining first n-grams determined to be semantically relevant for the action and removing second n-grams that are determined to be semantically irrelevant for the action from each sentence in the corresponding set of command sentences for the action; and for each action, generating a command model from the training set of command sentences and persisting the command model in a computer memory device, the command model facilitating the generation of an action score for the action for an input sentence based on; the first n-grams determined to be semantically relevant for the action; and second n-grams for the action that are also second n-grams for all other actions. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system, comprising:
-
a data processing apparatus and a computer storage apparatus in data communication with the data processing apparatus and storing instructions executable by the data processing apparatus and that upon such execution cause the data processing apparatus to perform operations comprising; for each action of a set of actions, generating a training set of command sentences from a corresponding set of command sentences for the action, the generating the training set of command sentences including retaining first n-grams determined to be semantically relevant for the action and removing second n-grams that are determined to be semantically irrelevant for the action from each sentence in the corresponding set of command sentences for the action; and for each action, generating a command model from the training set of command sentences and persisting the command model in a computer memory device, the command model facilitating the generation of an action score for the action for an input sentence based on; the first n-grams determined to be semantically relevant for the action; and second n-grams for the action that are also second n-grams for all other actions. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A non-transitory computer readable storage medium in data communication with the data processing apparatus and storing instructions executable by the data processing apparatus and upon such execution cause the data processing to perform operations comprising:
- accessing data specifying a set of actions, each action defining a user device operation that is different from user device operations for each other action;
for each action of a set of actions, generating a training set of command sentences from a corresponding set of command sentences for the action, the generating the training set of command sentences including retaining first n-grams determined to be semantically relevant for the action and removing second n-grams that are determined to be semantically irrelevant for the action from each sentence in the corresponding set of command sentences for the action; and for each action, generating a command model from the training set of command sentences and persisting the command model in a computer memory device, the command model facilitating the generation of an action score for the action for an input sentence based on; the first n-grams determined to be semantically relevant for the action; and second n-grams for the action that are also second n-grams for all other actions.
- accessing data specifying a set of actions, each action defining a user device operation that is different from user device operations for each other action;
Specification