Results 1 to 40 of 285

Thread: 20130521 - i00 Spell Check and Control Extensions -No Third Party Components Required

Threaded View

  1. #10
    Hyperactive Member
    Join Date
    Sep 2004
    Posts
    482

    Re: 20120625 - i00 .Net Spell Check - Code Project prize winner!

    Quote Originally Posted by i00 View Post
    Indexing like this is a good idea... I will put this in my todo list for the next update... will probably be about a week away... the only issue with this is that the dictionary would have to be kept in order ... but no biggie

    Thanks for the suggestion btw
    Kris
    You are welcome.

    One more performance enhancing suggestion, it looks like you are rebuilding the array for every word that you spell check. If you could make it preload one time and only reload when the dictionary is changed, that should further reduce the processing needed to complete the spell check. That may require the end user to instantiate the object on their main form load but I think the performance gain of not having to re-parse the dictionary for every word would be well worth it.

    Oh another option to index and make it easier to properly place new entries would be to just use a separate array for each letter. When you add a new word, add it to the end of the appropriate letter array and then dump the arrays to the dic file in the correct order. and you never get a word in the wrong spot. This might be too much trouble though.
    Last edited by Maverickz; Aug 23rd, 2012 at 10:56 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width