for the record . . . -----Original Message----- From: Francois Boudreau [mailto:fboudreau@;accentus.ca] Sent: Friday, November 08, 2002 7:40 AM To: Ostermueller, Erik Subject: RE: [Aspell-user] newbie questions
> > Does ASpell have an API for adding words to the dictionary? > If not, has anyone worked on an initial design for this? > There is one to add words to the personal dictionary and to the session. int aspell_speller_add_to_personal(struct AspellSpeller * ths, const char * word, int word_size); int aspell_speller_add_to_session(struct AspellSpeller * ths, const char * word, int word_size); There's also API to access the wordlist, though I'm not to sure what you can do with them after. const struct AspellWordList * aspell_speller_personal_word_list(struct AspellSpeller * ths); const struct AspellWordList * aspell_speller_session_word_list(struct AspellSpeller * ths); const struct AspellWordList * aspell_speller_main_word_list(struct AspellSpeller * ths); And don't forget to save your changes. int aspell_speller_save_all_word_lists(struct AspellSpeller * ths); Look at aspell.h Francois Boudreau _______________________________________________ Aspell-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/aspell-user
