Really, there are two components to a modern spell checker. First, identify the words that are misspelled. Second, offering (good) corrections. This article is really talking about how hard even the first task was when memory was scarce. Offering good suggestions is still non-trivial.
A spellchecker used to be a major feat of software engineering (2008)
81–90 of 154 posts
Re: A spellchecker used to be a major feat of software engineering (2008)
#82Re: A spellchecker used to be a major feat of software engineering (2008)
#83I wish we had spell checking (with corrections) competitions.
Computer based chess is very cool.
But a little time spent on a computer based spellchecking competition would help a lot of native and non native speakers every day.
And I'm just talking English, to start.
Re: A spellchecker used to be a major feat of software engineering (2008)
#84A good spell checker is still a hard engineering problem, despite the hardware progress. Just a hash map ain't gonna work. The only reason spell checking is perceived as a solved problem is availability of libraries. Here's an open source example https://github.com/hunspell/hunspell way above 10k lines of code. I speak 4 languages, and in my experience what's in Microsoft Office is the best one I used so far.
I suppose, it is worth giving a shout-out to a recent Hunspell port to Python by Zverok: https://github.com/zverok/spylls , this description from Github sums it up nicely: > Hunspell is a long-living, complicated, almost undocumented piece of software, and it was our feeling that the significant part of human knowledge is somehow "locked" in a form of a large C++ project. That's how Spylls was born: as an attempt to…
Re: A spellchecker used to be a major feat of software engineering (2008)
#85Re: A spellchecker used to be a major feat of software engineering (2008)
#86A good spell checker is still a hard engineering problem, despite the hardware progress. Just a hash map ain't gonna work. The only reason spell checking is perceived as a solved problem is availability of libraries. Here's an open source example https://github.com/hunspell/hunspell way above 10k lines of code. I speak 4 languages, and in my experience what's in Microsoft Office is the best one I used so far.
Re: A spellchecker used to be a major feat of software engineering (2008)
#87Here's an article that people might be interested in. It gives a bit more detail: https://web.archive.org/web/20100706052342/http://www.spelli... I'm particularly interested in this one, and I'm curious about how useful something like this would be to use. > The second does not use a dictionary at all (Morris & Cherry 1975). Like the previous method, it divides the text into trigrams, but it creates a table of these,…
Consider that the most often typo I make is "ture" for "true", and "flase" for "false", I'd say this isn't going to catch some common mistakes.
Re: A spellchecker used to be a major feat of software engineering (2008)
#88Re: A spellchecker used to be a major feat of software engineering (2008)
#89Re: A spellchecker used to be a major feat of software engineering (2008)
#90A good spell checker is still a hard engineering problem, despite the hardware progress. Just a hash map ain't gonna work. The only reason spell checking is perceived as a solved problem is availability of libraries. Here's an open source example https://github.com/hunspell/hunspell way above 10k lines of code. I speak 4 languages, and in my experience what's in Microsoft Office is the best one I used so far.
Currently spell checking just checks words from a dictionary. Its 1% of work. Or even less.
Microsoft Word used to have awesome spell checking, grammar checking, etc back in 2000 for Russian language. It seems to be degraded since then. But the fact is, this problem was solved. It checked for spelling, for grammar, for punctuation. I would expect that kind of functionality working in every OS textbox by now.