|
|
|
|
|
by nudpiedo
1671 days ago
|
|
The example was hilarious to read, and definitely a great feat to implement such a complex algorithm. I wonder why was Erlang picked and whether it will be offered as a service. Also how does it know how to replace "correct" by "misspelled"? is it maybe a list of synonims with stadistic correlation based on the semantic domain? |
|
> I wonder why was Erlang picked and whether it will be offered as a service.
You see in open source exist a lot of spell checkers based on different languages - but in Erlang this is one of the first. In Erlang world already implemented a lot of interesting projects like messengers, chats, writted a lot of documentation where spell checking is need and important. Plus we already create some useful plugin for checking strings, binaries and comments in Erlang projects based on AST - but we will outline this in more detail in the next article, which I hope will be released early next week.
> Also how does it know how to replace "correct" by "misspelled"?
This is future implementation what we will try add into this library - so far this library offers only candidates for replacement. But we are gradually moving in this direction and will be collected more algorithms for it.