An XML infrastructure
C. Michael Sperberg-McQueen · Balisage series on markup technologies · 2020
Spell checking has both practical and theoretical significance. The practical connections seem obvious: spell checking makes it easier to find some kinds of errors in documents. But spell checking is sometimes harder and less capable in XML than it could be. If a spell checker could exploit markup instead of just ignoring it, could spell checking be easier and more useful? The theoretical foundations of spell checking may be less obvious, but every spell checker operationalizes both a simple model of language and a model of errors and error correction. The SCX (spell checking for XML) framework is intended to support the author's experimentation with different models of language and errors: it uses XML technologies to tokenize documents, spell check them, provide a user interface for acting on the flags raised by the spell checker, and inserting the corrections into the original text.