3 ms·
Really great series of articles about spellcheckers. I wish there was a similar project written in Ruby. There is https://github.com/omohokcoj/ruby-spellchecker
by bababooeyxo 6y ago
Really great series of articles about spellcheckers.
I wish there was a similar project written in Ruby.
There is https://github.com/omohokcoj/ruby-spellchecker https://github.com/omohokcoj/ruby-spellchecker but it serves a bit different purpose - to do safe autocorrections.
Are you considering https://github.com/wolfgarbe/SymSpell https://github.com/wolfgarbe/SymSpell algo to do suggestions? If I recall native hunspell suggestions are quite slow - the same algo must be even slower on python.
- zverok 6y ago> I wish there was a similar project written in Ruby. Hehe... Actually, Ruby is my primary language, but I have chosen Python for this project for a complicated set of reasons I tried to explain[0] in the first article. > If I recall native hunspell suggestions are quite slow - the same algo must be even slower on python. Pretty slow, yes. But the current project's goal is to "uncover" how the Hunspell works—so, I implement it the Hunspell's way. The next (several) parts of the series would explain a lot on suggest, including "why is it hard", and "why SymSpell might not be enough" ;) 0: https://zverok.github.io/blog/2021-01-05-spellchecker-1.html#why-python https://zverok.github.io/blog/2021-01-05-spellchecker-1.html...