News for hackers. Stuff that matters.

isneu

Re:I wrote a script to automatically apply Grammarly corrections on Wednesday February 02, 2022 @03:12AM (#30175029)
That's amazing! I wish you all the very best ahead! :)
Re:I wrote a script to automatically apply Grammarly corrections on Wednesday February 02, 2022 @03:10AM (#30175019)
Wow! Thank you very much!
It must have added unexpected work on your shoulders. Errors are definitely much better than wrong fixes. Good luck with your future work.
Apologies for the misunderstanding. I'm corrected by helpful members of this community to do better.
haha great idea
Thank you mcv. I changed the title in my Github. Couldn't do here. Anyway, thanks. And nice username.
I definitely could have done a better job. Thank you for your suggestion. I will attempt a clearer title from now onwards. I couldn't edit my HN post but I have edited the Github title. Thank you again!
Good luck with your search @renaud!
Cheers @elondaits :)
That is great. I do a lot of reading before and only leave rooms for general suggestions such as punctuation, caps, spellings. I'd say I accept about 90%-95% of the suggestions.
mmHm... I see your use case. I hope you find a way to improve your efficiency while working. Cheers!
Hi Yaur. I had an instance when it started going back and forth between two suggestions that couldn't be fixed. I run the script and I also monitor what's going on to avoid such cases.
I see. I will attempt more appropriate headlines now onwards. Thank you for sharing. It seems news.yc doesn't allow me to edit the headlines now else would have definitely changed!
Pretty interesting conversation. Thank you Veen for starting it! :)
Wow! I only knew this now! Thank you. This language is older than my dad. Haha. The founder made it when he was in MIT. This made me wonder if I'll ever do something that will empower people to make something useful in the future. :) (This comment would be a pretty cool foreshadowing if my life were a movie haha)
You are right! In such use cases, this is a huge time-saver! :D
Sounds so odd, right? I use it to apply fixes for transcription of YouTube videos. There, YouTube uses lower case for things without commas, caps, and periods. I use another tool called https://pinetools.com/remove-line-breaks to add those things. Overall, it provides a good output. I do have to monitor so that it doesn't mess some things. Some use cases have tighter deadlines, relatively easier and non-serious suggestions.

Regarding learning from mistakes, I vote that Grammarly definitely teaches us to write better.

dear __boos, I absolutely agree. Seeing how Grammarly suggests fixing in your writing has improved my writing too. How about we see this tool as something to apply when the job needs done and the suggestions are usually acceptable? Regarding those exercises portion, I am out of ideas as of now.
Hi scim-knox-twox! Dope name! I used Grammarly because it's the tool I use.

I just discovered Language Tool from your comment. I see similarities between the two apps. mmhm, how's LT for your needs?

Or you can make a bookmarklets like I just learned from one comment here.

Follow this process to make that bookmarklet:

https://www.freecodecamp.org/news/what-are-bookmarklets/

and paste the code:

javascript: (() => {

  function refreshData()
{ x = 3;

    try {
if (document.querySelector('.cards-replacements_labels-itemRemove') !== null) { var newclass = document.querySelector('.cards-replacements_labels-itemRemove');

newclass.click(); } else { var newclass = document.getElementsByClassName("cards-replacements_labels-itemInsert"); newclass = newclass[0]; newclass.click(); } } catch (error) { if ( document.getElementsByClassName("wrapper_fipkee2") !== null) {

var cli = document.getElementsByClassName("wrapper_fipkee2"); var vli = cli[0]; vli.click(); }

}

    setTimeout(refreshData, x*1000);
}

refreshData();

})();

I hope this helps! :)

WOW! That's amazing! I just learned about bookmarklets, and made one for this script. It requires us to remove the comments. Else it works like a charm! I love it. Many thanks! :D
Umm hmm... I see so that's your experience. I did come across an instance of endless loops through the tool. My approach is to keep an eye on the kind of suggestions it gives to make sure it doesn't do weird stuff.
Everyone has seen those Grammarly ads haha. Nice to hear your thoughts elb2020
Hi taf2, yeah, now that you've pointed it out, I kinda understand it. I wrote the code in Ubuntu's text editor. I was in a rush to get my job done in time.

However, now that you've pointed it out, I fixed it. Credit for this formatting goes to you :)

Hi terry. It's easy. Copy the code from https://github.com/isneuu/autofix-grammarly-errors/blob/main...

For chrome or brave browser, go to your grammarly web, press F12 and paste that code. It will open what is called Console.

For Firefox, press F12, and you'll see tabs starting with "INSPECTOR, CONSOLE, ..." Press console and paste the code. I haven't tried it for firefox as my primary browser is chrome.

I've pasted the readme file for your convenience.

1. Go to Grammarly Web app 2. Go to Editor Settings, turn on "Auto-jump to the next suggestion" 3. I made it primarily for the "Correctness" tab in Grammarly. It also works for others.

Please know that I'm eager to reply to your queries here and help you. This tool definitely helps. :)

Now that a few have pointed, I definitely see it. Much appreciated what you took time to point out.

Also, nice username.

Wow! I came across a new information!
I agree. It definitely has some "wait what?!" moments. Its that in our subjective experience while using the app, I've largely had suggestions that could do just fine if implemented without my approval. But yes, there are cases where the "fix all" could cause more problems that it solves. :)

Older »