How to check spelling and grammar in Google Apps Script

早过忘川 提交于 2021-01-28 07:43:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!