Open stephanegigandet opened 7 years ago
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/ It requires php pspell to be installed on the backend.
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 Google seems to have a spellcheck API, but not suited to our needs for custom lists, I guess
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
5537