Techniques for grammar rule composition and testing
First Claim
1. A computer-executed method comprising:
- displaying a user interface with a control for receiving grammar rule definitions;
receiving, through the control, a first input that defines a particular grammar rule;
receiving a second input that selects a batch of documents;
wherein the batch of documents comprises at least two documents from a pool of documents;
wherein the pool of documents comprises both;
the at least two documents, and one or more other documents that are not included in the batch of documents;
based at least in part on the second input, detecting violations of the particular grammar rule within text contained in the batch of documents;
based at least in part on the second input, causing display of information, in a particular user interface, relating to the violations of the particular grammar rule;
wherein the displayed information indicates violations of the particular grammar rule in multiple documents within the batch of documents;
wherein the particular user interface includes a particular control associated with each rule violation, for indicating whether the rule violation is actually a rule violation without changing the contents of the document in which the rule violation was identified;
wherein the method is performed by one or more computing devices.
5 Assignments
0 Petitions
Accused Products
Abstract
Techniques are provided for composing and testing grammar rules that are configured to provide feedback on violations of target grammar guidelines in the text of documents. Tests may be performed to determine whether a new grammar rule produces false positives, is redundant or conflicts with other rules, or is expensive to apply to a document. A user may test the rule, in isolation or with other rules, on a batch of documents. A display of a summary of feedback that is generated in the batch of documents by the rules is provided. The user may also apply a rule to documents submitted for feedback as a hidden rule. Any violations of a hidden rule are recorded, but feedback on the violations is not provided in submitted documents. Furthermore, a user may indicate a level for a rule, which may control the set of documents to which the rule is applied.
47 Citations
28 Claims
-
1. A computer-executed method comprising:
-
displaying a user interface with a control for receiving grammar rule definitions; receiving, through the control, a first input that defines a particular grammar rule; receiving a second input that selects a batch of documents; wherein the batch of documents comprises at least two documents from a pool of documents; wherein the pool of documents comprises both; the at least two documents, and one or more other documents that are not included in the batch of documents; based at least in part on the second input, detecting violations of the particular grammar rule within text contained in the batch of documents; based at least in part on the second input, causing display of information, in a particular user interface, relating to the violations of the particular grammar rule; wherein the displayed information indicates violations of the particular grammar rule in multiple documents within the batch of documents; wherein the particular user interface includes a particular control associated with each rule violation, for indicating whether the rule violation is actually a rule violation without changing the contents of the document in which the rule violation was identified; wherein the method is performed by one or more computing devices. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. One or more non-transitory computer-readable media storing one or more sequences of instructions which, when executed by one or more processors, cause:
-
displaying a user interface with a control for receiving grammar rule definitions; receiving, through the control, a first input that defines a particular grammar rule; receiving a second input that selects a batch of documents; wherein the batch of documents comprises at least two documents from a pool of documents; wherein the pool of documents comprises both; the at least two documents, and one or more other documents that are not included in the batch of documents; based at least in part on the second input, detecting violations of the particular grammar rule within text contained in the batch of documents; based at least in part on the second input, causing display of information, in a particular user interface, relating to the violations of the particular grammar rule; wherein the displayed information indicates violations of the particular grammar rule in multiple documents within the batch of documents; wherein the particular user interface includes a particular control associated with each rule violation, for indicating whether the rule violation is actually a rule violation without changing the contents of the document in which the rule violation was identified. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
Specification