Hey everyone,
I've had a bad day, and decided to whip up something interesting and totally unnecessary in my day job, but nonetheless fun to build. So, I thought it would be appropriate to combine Text::Aspell with AxKit. Thus has Apache::AxKit::Language::SpellCheck version 0.01 come into being.
This language module doesn't actually use a stylesheet, but rather consumes an XML DOM object (either from a Content provider, or from a previous language pipeline stage) and spell checks its text() nodes. If there are any spelling errors, it will replace the offending word with an XML snippet similar to the following:
<sp:incorrect xmlns:sp="http://nachbaur.com/2004/07/17-spell-check#"> <sp:suggestion>CASS</sp:suggestion> <sp:suggestion>CUSS</sp:suggestion> <sp:word>CSS</sp:word> </sp:incorrect>
The namespace URI is *definitely* going to change, as soon as we can settle on one. In fact, I was going to point it at axkit.org, but forgot to change it over.
If anyone has suggestions, shout 'em out.
The uploaded file
Apache-AxKit-Language-SpellCheck-0.01.tar.gz
has entered CPAN as
file: $CPAN/authors/id/N/NA/NACHBAUR/Apache-AxKit-Language-SpellCheck-0.01.tar.gz
size: 2961 bytes
md5: c58d93d4b8aafc21ba4a9ec68a1f3867
-- Michael A. Nachbaur <[EMAIL PROTECTED]> http://nachbaur.com/pgpkey.asc
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
