-
-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevention - Add an ingredients spell checker in the product edit form #937
Comments
So, I'm looking at javascript spellcheck plugins. The one linked above is perfect, except it's not free and it's not open source. Next best candidate I found is http://jquery-spellchecker.badsyntax.co/ But it's old (5 years) and not maintained. I found many other spell checking libraries / plugins for javascript, but they all seem very old and unmaintained. Any suggestions? |
Weird, I assume it was free at the time ? |
No, it's just that I'm used to "jquery something" libraries to be free and open source. |
https://github.com/brandonaaron/jquery-spellcheck |
So, we could try to use the badsyntax javascript from http://jquery-spellchecker.badsyntax.co/html.html , and instead of using the php pspell backend, we create a perl backend that mimics the pspell api. I tried to capture the API call, the response seems simple enough, just a list of the mispellings and suggestions: First call to get the mispellings: {"outcome":"success","data":[["denounncing","Noo","consequencse's","caonsequences"]]} 2nd call to get the suggestions: ["denouncing","renouncing","announcing","trouncing","denounce","tenoning","demonizing","defencing","denounced","denounces"] |
What
Mockups
Backend documentation
Part of
The text was updated successfully, but these errors were encountered: