View Single Post
  #10 (permalink)  
Old 09-09-2008, 5:23 PM
Stonkie Stonkie is offline
VB.NET Forum Genius
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Sep 2007
Age: 21
Posts: 240
Reputation: 64
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).
__________________
They say years of experience past 6 months are very slightly correlated to competences within the pool of existing developpers. But don't tell my boss about that or I can forget my next pay raise!

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