I enjoy answering and nurturing the ruby and rubyonrails questions on Stack Exchange. However I'm often having to edit the English of a question before addressing the technical bits. Say I wrote a bot to add basic grammar and punctuation suggestion edits. What's the official stance on this type of solution?
-
7I'm interested about responses as well, mostly because I once considered building a bot like that but refrained.– UnihedronJul 12, 2015 at 6:36
-
Glad to hear the support for a response.– wurdeJul 12, 2015 at 6:37
-
I'm sure they exist in some capacity; there are unofficial copy editing plugins out there which already do this to some extent.– MakotoJul 12, 2015 at 7:11
-
4The Stack Exchange Editor Toolkit userscript tries to fix some common errors.– Jeffrey BosboomJul 12, 2015 at 7:36
-
18I'm wary about bots making fully-automated edits, even suggested ones. At a minimum there needs to be an emergency shutoff somewhere that the bot checks before each edit, as with Wikipedia bots. If the bot edits slowly enough for someone to notice before it's made all the edits, it will at least limit the damage in cases like this one.– Jeffrey BosboomJul 12, 2015 at 7:39
-
5I don't think unmonitored bots would be tolerated, but could be wrong. I don't know of any specific precedent or policy. To my surprise this doesn't seem to be explicitly forbidden by the TOS or API TOS. The Stack Exchange content policy has a "Mass Registration and Automation" heading, but it doesn't clearly forbid this. If the bot were only suggesting changes to you, and you reviewed them and apply other necessary changes before submitting them, that should be fine.– JeremyJul 12, 2015 at 7:40
-
You might want to be interested in this question about an automatic comment flag bot.– reneJul 12, 2015 at 9:04
-
@JeffreyBosboom that was the first thing that popped into my mind when I saw this point. I think that deserves to be in an answer as a warning– psubsee2003Jul 12, 2015 at 10:53
-
3@wurde : I used to wrote a feature request for requesting a spell checkker for the android mobille app (I use a bluetooth keyboard, so no spel checkker) on meta.stackexchange.com. But it was downvoted and deleted beccause poeples were aggainst it. So I can deffinitely tell there is a comunity consensus that spel mistakes should not be corected even beffore writting posts (except for comments).– user2284570Jul 12, 2015 at 14:07
-
Is it even possible to create an autonomous bot that can programmatically correct English grammar, correctly? I thought the general instance of that problem is actually exceedingly difficult to solve. It might be more appropriate to solve that problem first, and then ask about using it.– arothJul 14, 2015 at 13:10
1 Answer
As Jeffrey mentions, I've authored a userscript with the help of some other Stack Exchange users that aims to accomplish this type of thing; it takes a post and filters through it with a set of regexes that you can modify or add on to. I've been using it for about a year now without any major issues, as the set of corrections I've provided are not too aggressive, and I check my edits before submitting them (the script includes a bit of visual aid in identifying what changes, if any, were made to the post).
I'm not sure what the "official" response on this is1, but I think that as long as you are careful and monitor your edits (read: your bot is not autonomous, per se, but rather an "editing assistant"), you'll be fine.
The Stack Exchange Editor Toolkit is intended to be used in this way, and while it will do all of the work for you (fix grammar, usage, and spelling issues, generate an edit summary, etc.) short of actually submitting the edit, it works best when you use it to fix common, repetitive issues while focusing on more pertinent issues specific to a given post. I think that this is a happy medium between automation and personalization, and I would recommend that you use any sort of "GrammarBot" you create in this fashion.
1 ...and I don't intend to provide one; I just thought I'd give a few recommendations based on my experience in this area.
-
3I'm pretty sure this thread is asking for stances about autonomous editing bots. Jul 12, 2015 at 7:59
-
2@Unihedron I understand that, but if the bot is intended to be wholly autonomous (which I don't think is the case here, but I could be wrong), then the answer isn't as clear, and previous discussions disagree on the value and/or legality of bots that operate without human oversight.– AstroCBJul 12, 2015 at 8:09
-
6@GrantWinney: From the moment the bots arrived, read our posts, edited and voted, they were doomed. They were undone, destroyed, after all of man's weapons and devices had failed, by the tiniest instances that the Botmaster in his wisdom put upon this earth. By the toll of a billion deaths, man had earned his immunity, his right to survive among the infinite complexities on the Stack Exchange network. And that right is ours against all challenges. For neither do men live nor die in vain. Modified from quote by H. G. Wells. Jul 12, 2015 at 15:35
-
3@AstroCB I think this strikes a balance with what I wanted and was afraid of.– wurdeJul 12, 2015 at 15:49
-
1If it can inline with my viewing a post, make the grammar corrections, then the faster I can assist the person asking the question.– wurdeJul 12, 2015 at 15:50
-