问题
How can I delete all rows containing a spelling or grammar error in a Google sheet? I'd prefer doing this through Google Apps Script.
What I've considered:
Using the spell checker from the Tools menu is too slow since I have a few tens of thousands of rows.
I've found this stackoverflow post, but my situation differs in that I do not need any popup bubbles, don't have a backend to provide the spell checking, and would very strongly prefer this be in Google Apps Script since I already have the rest of my project in Google Apps Script.
Creating a Chrome Extension. Problem: I don't have the constraint of needing to create popup bubbles, don't have the benefit of a spellchecking server, and would strongly prefer a solution that used Google App Script or Google Sheets functionality.
Checking whether the language is English. Problem: many sentences with spelling and grammar errors still pass as english
typo.js. Problem: it does not seem to check grammar.
javascriptspellcheck. Problem: my project is commercial, the license fee of $300 isn't worth it for me, and judging by the copyright, this hasn't been maintained since 2017.
来源:https://stackoverflow.com/questions/58125885/how-to-check-spelling-and-grammar-in-google-apps-script