Re: Spellcheck package
| From: | Joe Stump | Date: | Thu, 14 Oct 2004 01:31:02 +0000 |
| Subject: | Re: Spellcheck package | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33825@lists.php.net to get a copy of this message | ||
+1 here too. This would be even cooler if it could be attached to Quick_Form text inputs :)
--Joe
--
Joseph C. Stump
joe@joestump.net
http://www.joestump.net
On Oct 12, 2004, at 5:04 PM, Justin Patrin wrote:
On Tue, 12 Oct 2004 19:28:51 -0400, Nikolas 'Atrus' Coukouma <atrus@atrus.org> wrote:I've been working on wrapping spellchecking functions in objects. The obvious advantage is not having to remember calls to *_free functions. I'm also planning to add functions for getting suggestions for whole strings (space-delimited words). It would return an associative array of suggestions with the misspelled words as keys and arrays of suggestions as values. Additionally, I think a function for 'highlighting' misspelled words by inserting stings before and after each misspelled word (i.e. '<b>' before and '</b>' after). Suggestions for other commonly useful functions are welcome. I'm currently basing the design on libenchant's interface. For convenience, it'll have a pspell (actually aspell) backend as a default, which can be switched for enchant, if it's available. Does this seem like a good addition to PEAR? Nikolas 'Atrus' CoukoumaSounds useful to me. -- paperCrane --Justin Patrin-- -- PEAR Development Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php