Pete, >I need to be able to add spell checking functionality to my app. >VSSpell only has an american dictionary :( I cant see any english >dictionaries for this component.
The easiest way to do this is load a TStringList with valid words and use TStringList.Find method to check if each word is in the list. I believe the Find method uses a binary search when TStringList.Sorted = True, so the speed should be fine. There are free word lists available on the internet (google for: word list). I don't know what the limits are on TStringList. Usually a good sized dictionary is around 100,000 words. If this is a problem for TStringList, just divide it up into an array of 26 TStringLists, for A, B, C, etc. and search the appropriate TStringList based on the first letter of the word. The only other thing you need to do is scan the individual words from your text and search the list for them individually. If you need help with that part, let me know. Don't forget to store your word list in either all uppercase or all lowercase and then convert each word with the UpperCase or LowerCase function before searching. Glenn Lawler www.incodesystems.com ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

