Settings

Theme

Sheldon: The Erlang Spell Checker

medium.com

58 points by elbrujohalcon 4 years ago · 12 comments

Reader

nudpiedo 4 years 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?

  • vkatsuba 4 years ago

    Not sure about the service in the current implementation, but it could be :-).

    > 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.

elbrujohalconOP 4 years ago

The next article in the series is already published: https://medium.com/erlang-battleground/spell-check-your-erla...

vkatsuba 4 years ago

https://news.ycombinator.com/item?id=29390783

daitangio 4 years ago

Very interesting, ironic and +1 for the name.

Thank you for sharing :)

johnisgood 4 years ago

What is bazinga there for? Just for fun and giggles, or does it serve any other purpose? I am a bit confused about it.

  • vkatsuba 4 years ago

    The bazinga was added only for fun to keep the spirit of the famous TV series. We have already received some feedback that this is superfluous and not all users would like to see bazinga. For this reason, we have created a ticket and will work on it in the near future so that this behavior can be disabled or enabled through the configuration parameter.

  • Jtsummers 4 years ago

    It's a Big Bang Theory reference. Specifically to the character Sheldon, it's his catchphrase.

    • johnisgood 4 years ago

      I know. But what purpose does it serve? Why is it there? For fun only?

      • vkatsuba 4 years ago

        In short - yes, only for fun, but this behavior will be changed in the future - since you are not the first user to ask the same question :-).

    • vkatsuba 4 years ago

      Yes! You are totally right :-).

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection