View Single Post
  #10 (permalink)  
Old 09-09-2008, 4:23 PM
Stonkie Stonkie is offline
VB.NET Forum Master
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Sep 2007
Age: 22
Posts: 279
Reputation: 80
Stonkie probably authored a book by nowStonkie probably authored a book by nowStonkie probably authored a book by now
Default

I think open office's spell checking system uses plain text files with the list of all available words in each language. Maybe the license permits using it since it's open source...

All you'll have to do is check each word in the list. If that's not efficient enough, you can split each word in a binary (alphabetic) tree for searching them.

Look here : Dictionaries - OpenOffice.org Wiki

Get the English (USA) one and open it as zip. You'll find a .dic file. It's a text file. There seems to be a certain notation and you'll have to read a bit more in the wiki to figure it out, but the readme file says it's covered by the LGPL so it should be free to use (I don't make any commitment on that).
__________________
The human mind's capability to comprehend abstract concepts is limited to the vocabulary it can use to describe it. The more precise the building blocks, the more complex the thoughts that can emerge... Sounds like the evolution of programming languages doesn't it?

Last edited by Stonkie; 09-09-2008 at 4:29 PM.
Reply With Quote