Thought about spellchecking with Tiki....
Hi devs (specially sylvie, but also any other people interested in this issue ):
I was grading grading users contributions to forums these last days, and I found, as always, plenty of syntactic and grammatic errors on their writing in their mother tonge (such as I may be producing here in English, Catanglish or Spanglish 😉. I was searching again ways to ease their task of spellchecking (at least), and searched around a bit today about this issue. I attach here some comments and links, FYI (this is another issue very important for Tiki use in education, even if it's more important for lower levels of education: primary, secondary, etc... where we make stronger emphasis on correct writing, etc. At uni level, they should write properly... even if most of them don't, yet, un luckily 😕)
First, to inform that under Linux using KDE, there is a nice KSPELL program (using ispell, as far as I understood reading the help 🙄 ) which integrates very well with Konqueror ("The" default browser for KDE environment under Linux, with no equivalent under M$ Windows environment, unluckily). This makes misspelled words appear in red inside the forms where users are writing their contributions (forums, wiki pages, etc.). So far, similar to what Tiki spellchecking feeature produces (when it works, and for the languages it works; I couldn't make it work for a non-english dictionary after making it in the db with the same structure as english dictionary in tiki db 😢)
Besides that, Kspell & Konqueror allow right cliking on any word inside html forms and run spellchecing feature: (add to list, ignore, etc. into local dictionaries), in a similar way as spellcheking feature in OpenOffice.org Writer, or M$ Word, etc.
See a screenshot here (50kb):
http://tikiwiki.org/tiki-download_wiki_attachment.php?attId=484
Second, I couldn't find a similar engine under Mozilla Firefox so far with latest versions of Firefox (1.0.7 by the time of this post). Which is a shame, because similar integration would make windows users also take profit of this spellchekcing features while working on tiki (or anyother CMS, & html form, of course)
Some wikis have already spellchecking included (such as MoinMoin ), which also add the chance to add misspelled words to some database in the server, to train the spellcheker, etc. I'm not a technician, but looked good enough to me (much better of what is achieved in Tiki righ now, btw). Examples at:
- http://dunck.us/collab/HelpOnSpellCheck (normal page, with info about spellchecker in MoinMoin)
- http://dunck.us/collab/HelpOnSpellCheck?action=SpellCheck (spellchecking the previous page)
Moreover, I've seen pre-made php scripts to help spellchecking & replacing strings, such as "spellcheck.php" GPL'd by Chris Snyder. Demo available on-line:
http://chxo.com/scripts/spellcheck.php
And source code also there:
http://chxo.com/scripts/spellcheck.php?showsource=1#source
Maybe something similar could be added to tiki (once coypright issues are solved? - maybe the auther may like releasing another version of his code under LGPL?)
Months ago while talking with Sylvie she thought that a call to Aspell (or ispell, I don't remember right now exactly) on the server-side, would help this spellchecking (and also lemmatization, or something similar; sylvie, correct if I'm wrong, please; or even explain what lemmatization means, if different from what aspell & ispell can do already on the server side).
ASPELL: http://aspell.sourceforge.net/
Zend Spell checking in Php: http://www.zend.com/zend/spotlight/spellchecking.php#Heading2
PHP Pspell Functions: http://www.php.net/manual/en/ref.pspell.php
I'm not a coder. At the most I can do my best to get funding from university projects in which we are using tiki for research on educational scenarios to contribute finnacing the coder/s which want to code it... Anyone intersted? Any possible estimate of expenses (order of magnitude)?
Cheers,
Xavi 😉