Initial Requirements
Prenote
AT Spellchecker is a project designed to provide free spellchecking API service to the world. It will be hosted by Aftertutor Medias Pvt Ltd.
Dependency Note
GNU Aspell (http://aspell.net) is a Free and Open Source spell checker designed to eventually replace Ispell. It can either be used as a library or as an independent spell checker. Its main feature is that it does a superior job of suggesting possible replacements for a misspelled word than just about any other spell checker out there for the English language. Unlike Ispell, Aspell can also easily check documents in UTF-8 without having to use a special dictionary. Aspell will also do its best to respect the current locale setting. Other advantages over Ispell include support for using multiple dictionaries at once and intelligently handling personal dictionaries when more than one Aspell process is open at once.
Introduction
Type in a search like [speling] and Google comes back in 0.1 seconds or so with Did you mean: spelling. (Yahoo and Microsoft are similar.) The full details of an industrial-strength spell corrector are quite complex. But in the course of a transcontinental plane ride, one could write and explain a toy spelling corrector that achieves 80 or 90% accuracy at a processing speed of at least 10 words per second in about half a page of code.
But AT Spellchecker will be more than that. With the help of existing implementation of Aspell, (It's php implementation is pspell http://php.net/manual/en/book.pspell.php) and by using the help of ngrams by norvig.com (http://norvig.com/ngrams/) - We can accomplish more.
Implementation
PHP is a great language for writing web applications. The raise of PHP 7.x with Zend Engine made it more powerful than Python for writing web applications. PHP has a variety of string functions (http://php.net/manual/en/ref.strings.php) which can work parallel with it's pspell library and accomplish more efficient spellchecker.
To begin with creating a REST API, refer https://git.aftertutor.com/at-labs/at-spellchecker/wikis/Create-RestAPI
Technical Details
The project must be built with the following configurations
- Aspell Version: 0.60.x
- PHP Version: 7.1
- Apache Version: 2.4
- OS: Ubuntu 16.04 LTS
*Note: Any additional support required may be raised as an Issue to the same repository. *
Please begin with what must be done, post another issue with your initial plan of execution.