I am doing a project using Html and PHP. I have a textarea. I can check the spelling of user input using html attribute. I want to check the grammar also and to restrict the user from submitting the form if there is any grammatical mistakes. Is there any way to do this? Even I am ready to use Python or javascript if it is possible in it. Please help me!!!
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Sounds like LanguageTool is what you need. They have a nice API, but keep in mind it is limited to 20 requests per IP address per minute. If you need more, they have a how-to on setting it up locally.