Parsing rule augmentation based on query sequence and action co-occurrence
First Claim
1. A computer-implemented method performed by a data processing apparatus, the method comprising:
- accessing command input logs storing data defining user device sessions;
identifying, from the command input logs, user device sessions that each respectively store;
a sequence of two or more input sentences, each input sentence being one or more n-grams, and each input sentence having a respective ordinal position in the sequence, and wherein the sequence of two or more input sentences includes at least one pair of a first input sentence that precedes a second input sentence in ordinal position in the sequence; and
data indicating a first action performed by a user device from which the user device session occurred, the first action having been performed in response to the second input sentence being successfully parsed by a parsing rule that is associated with the first action;
identifying pairs of first and second input sentences from respective user device sessions that are indicative of an augmentation signal, comprising identifying pairs of first and second input sentence for which the first action is not performed in response to the first input sentence and is performed in response to the second input sentence; and
determining, from the identified pairs of first and second input sentences, first input sentences for which a parsing rule that is associated with the first action is to be generated;
wherein the determining first input sentences for which the parsing rule that is associated with the first action is to be generated comprises, for each first input sentence;
determining a co-occurrence measure for the occurrence of first input sentence and the occurrence of the first action for the second input sentence; and
determining a parsing rule that is associated with the first action is to be generated for the first input sentence when co-occurrence measure for the first input sentence and the first action meets a threshold value.
2 Assignments
0 Petitions
Accused Products
Abstract
A language processing system identifies sequential command inputs in user session data stored in logs. Each sequence command input is a first command input followed by a second command input. The system determines user actions in response to each command input. For the second command input, an action was taken at the user device in response to the command input, and there is no parsing rule associated with the action that parses to the first command input. If there is a sufficient co-occurrence of the first and second command inputs and the resulting action in the logs, then a parsing rule for the action may be augmented with a rule for the first command input.
24 Citations
20 Claims
-
1. A computer-implemented method performed by a data processing apparatus, the method comprising:
-
accessing command input logs storing data defining user device sessions; identifying, from the command input logs, user device sessions that each respectively store; a sequence of two or more input sentences, each input sentence being one or more n-grams, and each input sentence having a respective ordinal position in the sequence, and wherein the sequence of two or more input sentences includes at least one pair of a first input sentence that precedes a second input sentence in ordinal position in the sequence; and data indicating a first action performed by a user device from which the user device session occurred, the first action having been performed in response to the second input sentence being successfully parsed by a parsing rule that is associated with the first action; identifying pairs of first and second input sentences from respective user device sessions that are indicative of an augmentation signal, comprising identifying pairs of first and second input sentence for which the first action is not performed in response to the first input sentence and is performed in response to the second input sentence; and determining, from the identified pairs of first and second input sentences, first input sentences for which a parsing rule that is associated with the first action is to be generated; wherein the determining first input sentences for which the parsing rule that is associated with the first action is to be generated comprises, for each first input sentence; determining a co-occurrence measure for the occurrence of first input sentence and the occurrence of the first action for the second input sentence; and determining a parsing rule that is associated with the first action is to be generated for the first input sentence when co-occurrence measure for the first input sentence and the first action meets a threshold value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A non-transitory computer readable storage medium storing instructions executable by a data processing apparatus and that upon such execution causes the data processing apparatus to perform operations comprising:
-
accessing command input logs storing data defining user device sessions; identifying, from the command input logs, user device sessions that each respectively store; a sequence of two or more input sentences, each input sentence being one or more n-grams, and each input sentence having a respective ordinal position in the sequence, and wherein the sequence of two or more input sentences includes at least one pair of a first input sentence that precedes a second input sentence in ordinal position in the sequence; and data indicating a first action performed by a user device from which the user device session occurred, the first action having been performed in response to the second input sentence being successfully parsed by a parsing rule that is associated with the first action; identifying pairs of first and second input sentences from respective user device sessions that are indicative of an augmentation signal, comprising identifying pairs of first and second input sentence for which the first action is not performed in response to the first input sentence and is performed in response to the second input sentence; and determining, from the identified pairs of first and second input sentences, first input sentences for which a parsing rule that is associated with the first action is to be generated; wherein the determining first input sentences for which the parsing rule that is associated with the first action is to be generated comprises, for each first input sentence; determining a co-occurrence measure for the occurrence of first input sentence and the occurrence of the first action for the second input sentence; and determining a parsing rule that is associated with the first action is to be generated for the first input sentence when co-occurrence measure for the first input sentence and the first action meets a threshold value. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. A system, comprising:
-
a data processing apparatus; and a non-transitory computer readable storage medium in data communication with the data processing apparatus storing instructions executable by the data processing apparatus and that upon such execution causes the data processing apparatus to perform operations comprising; accessing command input logs storing data defining user device sessions; identifying, from the command input logs, user device sessions that each respectively store; a sequence of two or more input sentences, each input sentence being one or more n-grams, and each input sentence having a respective ordinal position in the sequence, and wherein the sequence of two or more input sentences includes at least one pair of a first input sentence that precedes a second input sentence in ordinal position in the sequence; and data indicating a first action performed by a user device from which the user device session occurred, the first action having been performed in response to the second input sentence being successfully parsed by a parsing rule that is associated with the first action; identifying pairs of first and second input sentences from respective user device sessions that are indicative of an augmentation signal, comprising identifying pairs of first and second input sentence for which the first action is not performed in response to the first input sentence and is performed in response to the second input sentence; and determining, from the identified pairs of first and second input sentences, first input sentences for which a parsing rule that is associated with the first action is to be generated; wherein the determining first input sentences for which the parsing rule that is associated with the first action is to be generated comprises, for each first input sentence; determining a co-occurrence measure for the occurrence of first input sentence and the occurrence of the first action for the second input sentence; and determining a parsing rule that is associated with the first action is to be generated for the first input sentence when co-occurrence measure for the first input sentence and the first action meets a threshold value.
-
Specification