-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autocorrect mode for divvun-checker #37
Comments
Implements #37 - Autocorrect mode for divvun-checker
gives (json was |
Yes, looks good. |
Implements #37 - Autocorrect mode for divvun-checker
Can this one be closed, or should we do a multipass / "fixed-point" option too? |
It would be nice to have a multipass option too, so that the output would be "the most correct text according to the grammar checker". It should be easy to implement - just loop over the input untill there are no more changes. |
For automatised tests where we only care about whether we got the expected output, it would be nice to have an autocorrect mode. That is, the tool should take the input text, find possible errors, apply the best/first suggestion in each case, and print out the corrected text. The output should be identical to the input text except for the corrections made.
One could consider a sub-option for whether to do single-pass or multipass corrections, ie whether to try to find more errors after the first pass until no more errors are found. Default should be single-pass.
The text was updated successfully, but these errors were encountered: