Introducing the Java platform's Jazzy new spell checker API.
Tutorial Details:
Users have come to expect spell-check capabilities from applications that involve natural-language text entry. Because building a spell checker from scratch is no simple task, this article offers you a workaround using Jazzy, an open source Java spell checker API. Java developer Tom White offers an in-depth explanation of the main algorithms behind computer-based spell checking, then shows you how the Jazzy API can help you incorporate the best of them into your Java applications.
Computers are adept at performing rapid searches of large stores of information for a given search term, but the search capability required for a spell checking application goes beyond exact string matching. In this article, I'll describe some of the history of search algorithms, including phonetic matching algorithms such as the Soundex and Metaphone and string similarity types such as the Dynamic Programming algorithm. I'll explain both the strengths and weaknesses of these algorithms in relation to spell checking, and then introduce one final variant, the Aspell algorithm, which was written specifically for spell checking applications.
The Aspell algorithm, which combines the best features of previous search-and-match algorithms, is the underlying framework of Jazzy, the spell checker API for the Java platform. In the second half of this article, you'll see how Jazzy applies the Aspell algorithm in a Java framework. I'll show you the steps by which Jazzy identifies a misspelled word and then provides a likely correction. I'll close the article with a working example that demonstrates the ease with which Jazzy can help you incorporate its spell checking features into your Java applications.
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: Can't beat Jazzy
View Tutorial: Can't beat Jazzy
Related
Tutorials:
|